Mercurial > emacs
comparison src/emacs.c @ 31225:7930c46bb365
(toplevel) [HAVE_STRING_H]: Include string.h.
(toplevel) [HAVE_STRINGS_H]: Include strings.h.
(index): Remove prototypes which might conflict with non-standard
definitions of index/strchr.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 28 Aug 2000 15:03:29 +0000 |
parents | 7949e7792b02 |
children | 3ecef4a7b3cd |
comparison
equal
deleted
inserted
replaced
31224:fa7a79afcbf7 | 31225:7930c46bb365 |
---|---|
58 #ifdef HAVE_SETRLIMIT | 58 #ifdef HAVE_SETRLIMIT |
59 #include <sys/time.h> | 59 #include <sys/time.h> |
60 #include <sys/resource.h> | 60 #include <sys/resource.h> |
61 #endif | 61 #endif |
62 | 62 |
63 #ifdef HAVE_STRING_H | |
64 #include <string.h> | |
65 #endif | |
66 | |
67 #ifdef HAVE_STRINGS_H | |
68 #include <strings.h> | |
69 #endif | |
70 | |
63 #ifndef O_RDWR | 71 #ifndef O_RDWR |
64 #define O_RDWR 2 | 72 #define O_RDWR 2 |
65 #endif | 73 #endif |
66 | 74 |
67 #ifdef HAVE_SETPGID | 75 #ifdef HAVE_SETPGID |
71 #endif | 79 #endif |
72 #endif | 80 #endif |
73 | 81 |
74 extern void malloc_warning P_ ((char *)); | 82 extern void malloc_warning P_ ((char *)); |
75 extern void set_time_zone_rule P_ ((char *)); | 83 extern void set_time_zone_rule P_ ((char *)); |
76 extern char *index P_ ((const char *, int)); | |
77 | 84 |
78 /* Make these values available in GDB, which doesn't see macros. */ | 85 /* Make these values available in GDB, which doesn't see macros. */ |
79 | 86 |
80 EMACS_INT gdb_valbits = VALBITS; | 87 EMACS_INT gdb_valbits = VALBITS; |
81 EMACS_INT gdb_gctypebits = GCTYPEBITS; | 88 EMACS_INT gdb_gctypebits = GCTYPEBITS; |