diff src/fns.c @ 21514:fa9ff387d260

Fix -Wimplicit warnings.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 12:25:56 +0000
parents aa16b532cf4c
children 33d800bf97c3
line wrap: on
line diff
--- a/src/fns.c	Tue Apr 14 10:56:46 1998 +0000
+++ b/src/fns.c	Tue Apr 14 12:25:56 1998 +0000
@@ -21,6 +21,10 @@
 
 #include <config.h>
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 /* Note on some machines this defines `vector' as a typedef,
    so make sure we don't use that name in this file.  */
 #undef vector
@@ -35,6 +39,9 @@
 #include "intervals.h"
 #include "frame.h"
 #include "window.h"
+#ifdef HAVE_MENUS
+#include "xterm.h"
+#endif
 
 #ifndef NULL
 #define NULL (void *)0
@@ -44,8 +51,6 @@
    asked by mouse commands.  */
 int use_dialog_box;
 
-extern Lisp_Object Flookup_key ();
-
 extern int minibuffer_auto_raise;
 extern Lisp_Object minibuf_window;
 
@@ -2545,6 +2550,7 @@
   return result;
 }
 
+void
 syms_of_fns ()
 {
   Qstring_lessp = intern ("string-lessp");