diff options
author | bde <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
commit | 289f11acb49b6dbb3081e09bf94a86f008f55814 (patch) | |
tree | e4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/fs/fifofs | |
parent | 4c4945abee9eabe3a2be340ba973ae861c21a3c6 (diff) | |
download | FreeBSD-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/fs/fifofs')
-rw-r--r-- | sys/fs/fifofs/fifo.h | 4 | ||||
-rw-r--r-- | sys/fs/fifofs/fifo_vnops.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/fs/fifofs/fifo.h b/sys/fs/fifofs/fifo.h index 384b6c2..3f2d8ef 100644 --- a/sys/fs/fifofs/fifo.h +++ b/sys/fs/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/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c index 78f6201..bf1ec82 100644 --- a/sys/fs/fifofs/fifo_vnops.c +++ b/sys/fs/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> /* |