From: Gerd Moellmann Date: Fri, 5 Jan 2001 11:26:08 +0000 (+0000) Subject: Don't prototype srandom; it takes an unsigned argument X-Git-Tag: emacs-pretest-21.0.95~94 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff4c29f42c8332853cd17eec5d619dd1ed0a8dce;p=emacs.git Don't prototype srandom; it takes an unsigned argument on some systems, and an unsigned long on others, like FreeBSD 4.1. --- 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