comparison src/sysdep.c @ 35077:ef98c2544bee

Don't prototype srandom; it takes an unsigned argument on some systems, and an unsigned long on others, like FreeBSD 4.1.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 05 Jan 2001 11:26:08 +0000
parents daf01616a3e7
children 5b3800ddebf0
comparison
equal deleted inserted replaced
35076:778deeeffb6d 35077:ef98c2544bee
29 #include "lisp.h" 29 #include "lisp.h"
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 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));
38 #endif
35 #endif 39 #endif
36 40
37 #include "blockinput.h" 41 #include "blockinput.h"
38 #undef NULL 42 #undef NULL
39 43