[rtems commit] libnetworking/sys/libkern.h: Disable non-POSIX prototype that is actually unused

Joel Sherrill joel at rtems.org
Thu Mar 24 16:58:38 UTC 2016


Module:    rtems
Branch:    master
Commit:    09c993b4bb770ee946118fe81257cbfd06e5d1c6
Changeset: http://git.rtems.org/rtems/commit/?id=09c993b4bb770ee946118fe81257cbfd06e5d1c6

Author:    Joel Sherrill <joel at rtems.org>
Date:      Sun Mar 20 15:24:14 2016 -0500

libnetworking/sys/libkern.h: Disable non-POSIX prototype that is actually unused

---

 cpukit/libnetworking/sys/libkern.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cpukit/libnetworking/sys/libkern.h b/cpukit/libnetworking/sys/libkern.h
index afeaa13..7aa6e8b 100644
--- a/cpukit/libnetworking/sys/libkern.h
+++ b/cpukit/libnetworking/sys/libkern.h
@@ -78,7 +78,9 @@ char	*index(const char *, int);
 char	*rindex(const char *, int);
 int	 scanc(u_int, const u_char *, const u_char *, int);
 int	 skpc(int, int, char *);
+#if !defined(__rtems__)
 void	 srandom(u_long);
+#endif
 char	*strcat(char * __restrict, const char * __restrict);
 int	 strcmp(const char *, const char *);
 char	*strdup(const char *s);



More information about the vc mailing list