summaryrefslogtreecommitdiffstats
path: root/sys/isofs
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/isofs
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/isofs')
-rw-r--r--sys/isofs/cd9660/cd9660_node.c7
-rw-r--r--sys/isofs/cd9660/cd9660_node.h5
2 files changed, 5 insertions, 7 deletions
diff --git a/sys/isofs/cd9660/cd9660_node.c b/sys/isofs/cd9660/cd9660_node.c
index 080f342..a6292f3 100644
--- a/sys/isofs/cd9660/cd9660_node.c
+++ b/sys/isofs/cd9660/cd9660_node.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)cd9660_node.c 8.2 (Berkeley) 1/23/94
- * $Id: cd9660_node.c,v 1.8 1995/01/16 17:03:24 joerg Exp $
+ * $Id: cd9660_node.c,v 1.9 1995/02/21 18:41:30 bde Exp $
*/
#include <sys/param.h>
@@ -80,8 +80,6 @@ union iso_dhead {
} iso_dhead[DNOHSZ];
#endif
-int prtactive; /* 1 => print out reclaim of active vnodes */
-
/*
* Initialize hash links for inodes and dnodes.
*/
@@ -289,11 +287,8 @@ loop:
vp->v_type = IFTOVT(ip->inode.iso_mode);
if ( vp->v_type == VFIFO ) {
- extern int (**cd9660_fifoop_p)();
vp->v_op = cd9660_fifoop_p;
} else if ( vp->v_type == VCHR || vp->v_type == VBLK ) {
- extern int (**cd9660_specop_p)();
-
/*
* if device, look at device number table for translation
*/
diff --git a/sys/isofs/cd9660/cd9660_node.h b/sys/isofs/cd9660/cd9660_node.h
index ca7627e..1e593a2 100644
--- a/sys/isofs/cd9660/cd9660_node.h
+++ b/sys/isofs/cd9660/cd9660_node.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)cd9660_node.h 8.2 (Berkeley) 1/23/94
- * $Id: cd9660_node.h,v 1.3 1994/09/15 19:46:00 bde Exp $
+ * $Id: cd9660_node.h,v 1.4 1995/01/16 17:03:25 joerg Exp $
*/
/*
@@ -111,6 +111,9 @@ struct iso_node {
#define ISO_ILOCK(ip) iso_ilock(ip)
#define ISO_IUNLOCK(ip) iso_iunlock(ip)
+extern int (**cd9660_fifoop_p)();
+extern int (**cd9660_specop_p)();
+
/*
* Prototypes for ISOFS vnode operations
*/
OpenPOWER on IntegriCloud