diff src/sysdep.c @ 35077:ef98c2544bee

Don't prototype srandom; it takes an unsigned argument on some systems, and an unsigned long on others, like FreeBSD 4.1.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 05 Jan 2001 11:26:08 +0000
parents daf01616a3e7
children 5b3800ddebf0
line wrap: on
line diff
--- a/src/sysdep.c	Fri Jan 05 05:30:53 2001 +0000
+++ b/src/sysdep.c	Fri Jan 05 11:26:08 2001 +0000
@@ -31,8 +31,12 @@
    declared, e.g. without __USE_XOPEN_EXTENDED with glibc 2.  */
 #ifdef HAVE_RANDOM
 extern long int random P_ ((void));
+#if 0 /* Don't prototype srandom; it takes an unsigned argument on
+	 some systems, and an unsigned long on others, like FreeBSD
+	 4.1.  */
 extern void srandom P_ ((unsigned int));
 #endif
+#endif
 
 #include "blockinput.h"
 #undef NULL