diff src/filelock.c @ 21514:fa9ff387d260

Fix -Wimplicit warnings.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 12:25:56 +0000
parents edf1091d8a60
children 36667ebd744e
line wrap: on
line diff
--- a/src/filelock.c	Tue Apr 14 10:56:46 1998 +0000
+++ b/src/filelock.c	Tue Apr 14 12:25:56 1998 +0000
@@ -20,6 +20,7 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <signal.h>
 #include <config.h>
 
 #ifdef VMS
@@ -34,6 +35,10 @@
 #include <string.h>
 #endif /* USG */
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #include "lisp.h"
 #include "buffer.h"
 
@@ -515,6 +520,7 @@
 
 /* Initialization functions.  */
 
+void
 syms_of_filelock ()
 {
   defsubr (&Sunlock_buffer);