aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/sysdep.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0021ec4298b..51f2a856f6a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12001-01-10 Dave Love <fx@gnu.org>
2
3 * sysdep.c (random): Revert the declaration.
4
12001-01-09 Gerd Moellmann <gerd@gnu.org> 52001-01-09 Gerd Moellmann <gerd@gnu.org>
2 6
3 * lisp.h (STRING_BYTES) [GC_CHECK_STRING_BYTES]: Call 7 * lisp.h (STRING_BYTES) [GC_CHECK_STRING_BYTES]: Call
@@ -44,7 +48,7 @@
44 48
45 * xterm.c (XTread_socket) <LeaveNotify>: Set help_echo to nil. 49 * xterm.c (XTread_socket) <LeaveNotify>: Set help_echo to nil.
46 50
472001-01-07 Dave Love <d.love@dl.ac.uk> 512001-01-07 Dave Love <fx@gnu.org>
48 52
49 * keyboard.c (Fread_key_sequence_vector): Avoid newline in 53 * keyboard.c (Fread_key_sequence_vector): Avoid newline in
50 arglist, for documentation's sake. 54 arglist, for documentation's sake.
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 */
33extern long int random P_ ((void)); 37extern 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. */