summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-01-05 11:26:08 +0000
committerGerd Moellmann <gerd@gnu.org>2001-01-05 11:26:08 +0000
commitff4c29f42c8332853cd17eec5d619dd1ed0a8dce (patch)
treee9e742c9fbdc975cae5fd6b597185aa4289ab2d1 /src/sysdep.c
parentc5f3770d9917d514805606998816cf4f552efc87 (diff)
downloademacs-ff4c29f42c8332853cd17eec5d619dd1ed0a8dce.tar.gz
Don't prototype srandom; it takes an unsigned argument
on some systems, and an unsigned long on others, like FreeBSD 4.1.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c4
1 files changed, 4 insertions, 0 deletions
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