HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5f3770
)
Don't prototype srandom; it takes an unsigned argument
author
Gerd Moellmann
<gerd@gnu.org>
Fri, 5 Jan 2001 11:26:08 +0000
(11:26 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Fri, 5 Jan 2001 11:26:08 +0000
(11:26 +0000)
on some systems, and an unsigned long on others, like FreeBSD 4.1.
src/sysdep.c
patch
|
blob
|
blame
|
history
diff --git
a/src/sysdep.c
b/src/sysdep.c
index
8d8289d
..
f9de761
100644
(file)
--- 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