diff options
| author | Gerd Moellmann | 2001-01-05 11:26:08 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-01-05 11:26:08 +0000 |
| commit | ff4c29f42c8332853cd17eec5d619dd1ed0a8dce (patch) | |
| tree | e9e742c9fbdc975cae5fd6b597185aa4289ab2d1 | |
| parent | c5f3770d9917d514805606998816cf4f552efc87 (diff) | |
| download | emacs-ff4c29f42c8332853cd17eec5d619dd1ed0a8dce.tar.gz emacs-ff4c29f42c8332853cd17eec5d619dd1ed0a8dce.zip | |
Don't prototype srandom; it takes an unsigned argument
on some systems, and an unsigned long on others, like FreeBSD 4.1.
| -rw-r--r-- | src/sysdep.c | 4 |
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. */ | |||
| 31 | declared, e.g. without __USE_XOPEN_EXTENDED with glibc 2. */ | 31 | declared, e.g. without __USE_XOPEN_EXTENDED with glibc 2. */ |
| 32 | #ifdef HAVE_RANDOM | 32 | #ifdef HAVE_RANDOM |
| 33 | extern long int random P_ ((void)); | 33 | extern long int random P_ ((void)); |
| 34 | #if 0 /* Don't prototype srandom; it takes an unsigned argument on | ||
| 35 | some systems, and an unsigned long on others, like FreeBSD | ||
| 36 | 4.1. */ | ||
| 34 | extern void srandom P_ ((unsigned int)); | 37 | extern void srandom P_ ((unsigned int)); |
| 35 | #endif | 38 | #endif |
| 39 | #endif | ||
| 36 | 40 | ||
| 37 | #include "blockinput.h" | 41 | #include "blockinput.h" |
| 38 | #undef NULL | 42 | #undef NULL |