1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 20:30:32 -08:00

(random, srandom): Declare explicitly.

This commit is contained in:
Dave Love 2001-01-04 17:47:01 +00:00
parent d1d1aa9c41
commit 8296bbf80b

View file

@ -26,8 +26,14 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "lisp.h"
/* Including stdlib.h isn't necessarily enough to get srandom
declared, e.g. without __USE_XOPEN_EXTENDED with glibc 2. */
#ifdef HAVE_RANDOM
extern long int random P_ ((void));
extern void srandom P_ ((unsigned int));
#endif
#include "blockinput.h"
#undef NULL