[PATCH 02/14] libnetworking/sys/libkern.h: Disable non-POSIX prototype that is actually unused

Joel Sherrill joel at rtems.org
Tue Mar 22 14:40:30 UTC 2016


---
 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);
-- 
1.8.3.1




More information about the devel mailing list