From ff4c29f42c8332853cd17eec5d619dd1ed0a8dce Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 5 Jan 2001 11:26:08 +0000 Subject: [PATCH] Don't prototype srandom; it takes an unsigned argument on some systems, and an unsigned long on others, like FreeBSD 4.1. --- src/sysdep.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sysdep.c b/src/sysdep.c index 8d8289dbb99..f9de761f9da 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -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 -- 2.39.2