diff src/emacs.c @ 31336:3ecef4a7b3cd

Remove includes of string.h and strings.h. (index) [HAVE_INDEX]: Add prototype.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 02 Sep 2000 19:35:25 +0000
parents 7930c46bb365
children c3b1fc2b0d11
line wrap: on
line diff
--- a/src/emacs.c	Sat Sep 02 17:58:27 2000 +0000
+++ b/src/emacs.c	Sat Sep 02 19:35:25 2000 +0000
@@ -60,14 +60,6 @@
 #include <sys/resource.h>
 #endif
 
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif
-
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-
 #ifndef O_RDWR
 #define O_RDWR 2
 #endif
@@ -81,6 +73,9 @@
 
 extern void malloc_warning P_ ((char *));
 extern void set_time_zone_rule P_ ((char *));
+#ifdef HAVE_INDEX
+extern char *index P_ ((const char *, int));
+#endif
 
 /* Make these values available in GDB, which doesn't see macros.  */