Mercurial > emacs
comparison src/sysdep.c @ 91327:606f2d163a64
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 09 Jan 2008 01:21:15 +0000 |
parents | 53108e6cea98 107ccd98fa12 |
children | c70e45a7acfd |
comparison
equal
deleted
inserted
replaced
91326:b1a63d7fa09c | 91327:606f2d163a64 |
---|---|
1 /* Interfaces to system-dependent kernel and library entries. | 1 /* Interfaces to system-dependent kernel and library entries. |
2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, | 2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, |
3 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. | 3 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
4 Free Software Foundation, Inc. | |
4 | 5 |
5 This file is part of GNU Emacs. | 6 This file is part of GNU Emacs. |
6 | 7 |
7 GNU Emacs is free software; you can redistribute it and/or modify | 8 GNU Emacs is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
31 #endif | 32 #endif |
32 #include "lisp.h" | 33 #include "lisp.h" |
33 /* Including stdlib.h isn't necessarily enough to get srandom | 34 /* Including stdlib.h isn't necessarily enough to get srandom |
34 declared, e.g. without __USE_XOPEN_EXTENDED with glibc 2. */ | 35 declared, e.g. without __USE_XOPEN_EXTENDED with glibc 2. */ |
35 #ifdef HAVE_RANDOM | 36 #ifdef HAVE_RANDOM |
36 #if 0 /* It turns out that defining _OSF_SOURCE in osf5-0.h gets | |
37 random prototyped as returning `int'. It looks to me as | |
38 though the best way to DTRT is to prefer the rand48 functions | |
39 (per libc.info). -- fx */ | |
40 extern long int random P_ ((void)); | |
41 #endif | |
42 #if 0 /* Don't prototype srandom; it takes an unsigned argument on | 37 #if 0 /* Don't prototype srandom; it takes an unsigned argument on |
43 some systems, and an unsigned long on others, like FreeBSD | 38 some systems, and an unsigned long on others, like FreeBSD |
44 4.1. */ | 39 4.1. */ |
45 extern void srandom P_ ((unsigned int)); | 40 extern void srandom P_ ((unsigned int)); |
46 #endif | 41 #endif |