Don't prototype srandom; it takes an unsigned argument
authorGerd Moellmann <gerd@gnu.org>
Fri, 5 Jan 2001 11:26:08 +0000 (11:26 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 5 Jan 2001 11:26:08 +0000 (11:26 +0000)
on some systems, and an unsigned long on others, like FreeBSD 4.1.

src/sysdep.c

index 8d8289d..f9de761 100644 (file)
@@ -31,8 +31,12 @@ Boston, MA 02111-1307, USA.  */
    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