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:
parent
d1d1aa9c41
commit
8296bbf80b
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue