diff options
| author | Dave Love | 2001-01-10 11:54:41 +0000 |
|---|---|---|
| committer | Dave Love | 2001-01-10 11:54:41 +0000 |
| commit | 1bfb1345160682ab80dd952f9fa85b69c95940ea (patch) | |
| tree | f482e64bcdc6c601393ba7982877e1b1d2fb6a10 /src/sysdep.c | |
| parent | 97878c08e08151528135ae911f69ad627360ff3b (diff) | |
| download | emacs-1bfb1345160682ab80dd952f9fa85b69c95940ea.tar.gz emacs-1bfb1345160682ab80dd952f9fa85b69c95940ea.zip | |
(random): Revert the declaration.
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 0e1b364be72..339a3c2941a 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -30,7 +30,12 @@ Boston, MA 02111-1307, USA. */ | |||
| 30 | /* Including stdlib.h isn't necessarily enough to get srandom | 30 | /* Including stdlib.h isn't necessarily enough to get srandom |
| 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 | #if 0 /* It turns out that defining _OSF_SOURCE in osf5-0.h gets | ||
| 34 | random prototyped as returning `int'. It looks to me as | ||
| 35 | though the best way to DTRT is to prefer the rand48 functions | ||
| 36 | (per libc.info). -- fx */ | ||
| 33 | extern long int random P_ ((void)); | 37 | extern long int random P_ ((void)); |
| 38 | #endif | ||
| 34 | #if 0 /* Don't prototype srandom; it takes an unsigned argument on | 39 | #if 0 /* Don't prototype srandom; it takes an unsigned argument on |
| 35 | some systems, and an unsigned long on others, like FreeBSD | 40 | some systems, and an unsigned long on others, like FreeBSD |
| 36 | 4.1. */ | 41 | 4.1. */ |