summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/fifofs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-03-16 18:17:34 +0000
committerbde <bde@FreeBSD.org>1995-03-16 18:17:34 +0000
commit289f11acb49b6dbb3081e09bf94a86f008f55814 (patch)
treee4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/miscfs/fifofs
parent4c4945abee9eabe3a2be340ba973ae861c21a3c6 (diff)
downloadFreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.zip
FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.tar.gz
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
Diffstat (limited to 'sys/miscfs/fifofs')
-rw-r--r--sys/miscfs/fifofs/fifo.h4
-rw-r--r--sys/miscfs/fifofs/fifo_vnops.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/miscfs/fifofs/fifo.h b/sys/miscfs/fifofs/fifo.h
index 384b6c2..3f2d8ef 100644
--- a/sys/miscfs/fifofs/fifo.h
+++ b/sys/miscfs/fifofs/fifo.h
@@ -31,9 +31,11 @@
* SUCH DAMAGE.
*
* @(#)fifo.h 8.2 (Berkeley) 2/2/94
- * $Id: fifo.h,v 1.3 1994/09/22 19:38:05 wollman Exp $
+ * $Id: fifo.h,v 1.4 1995/02/14 06:30:18 phk Exp $
*/
+extern int (**fifo_vnodeop_p)();
+
/*
* Prototypes for fifo operations on vnodes.
*/
diff --git a/sys/miscfs/fifofs/fifo_vnops.c b/sys/miscfs/fifofs/fifo_vnops.c
index 78f6201..bf1ec82 100644
--- a/sys/miscfs/fifofs/fifo_vnops.c
+++ b/sys/miscfs/fifofs/fifo_vnops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)fifo_vnops.c 8.2 (Berkeley) 1/4/94
- * $Id: fifo_vnops.c,v 1.6 1994/10/02 17:48:00 phk Exp $
+ * $Id: fifo_vnops.c,v 1.7 1995/02/03 06:46:13 davidg Exp $
*/
#include <sys/param.h>
@@ -48,6 +48,7 @@
#include <sys/file.h>
#include <sys/errno.h>
#include <sys/malloc.h>
+#include <sys/un.h>
#include <miscfs/fifofs/fifo.h>
/*
OpenPOWER on IntegriCloud