summaryrefslogtreecommitdiffstats
path: root/sys/isofs/cd9660/cd9660_vnops.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-03 17:14:38 +0000
committerbde <bde@FreeBSD.org>1995-12-03 17:14:38 +0000
commit74fff1ae895ae3def1dbed7a222f33cfd91d1c08 (patch)
tree35669fdc86bcce3106b8953fb6d088edab5cb106 /sys/isofs/cd9660/cd9660_vnops.c
parent7d54fff460aa976d599a5456a3b7f53c7e5020ee (diff)
downloadFreeBSD-src-74fff1ae895ae3def1dbed7a222f33cfd91d1c08.zip
FreeBSD-src-74fff1ae895ae3def1dbed7a222f33cfd91d1c08.tar.gz
Added prototypes.
cd9660_rrip.c: Added lots of bogus casts to hide type errors exposed by the prototypes. (Different structs are assumed to have a common prefix.) cd9660_vnops.c: Finished staticizing.
Diffstat (limited to 'sys/isofs/cd9660/cd9660_vnops.c')
-rw-r--r--sys/isofs/cd9660/cd9660_vnops.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c
index 8c8f724..367ab7e 100644
--- a/sys/isofs/cd9660/cd9660_vnops.c
+++ b/sys/isofs/cd9660/cd9660_vnops.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)cd9660_vnops.c 8.3 (Berkeley) 1/23/94
- * $Id: cd9660_vnops.c,v 1.21 1995/11/12 10:36:19 davidg Exp $
+ * $Id: cd9660_vnops.c,v 1.22 1995/11/20 03:57:50 dyson Exp $
*/
#include <sys/param.h>
@@ -60,6 +60,7 @@
#include <isofs/cd9660/cd9660_node.h>
#include <isofs/cd9660/iso_rrip.h>
+static int cd9660_setattr __P((struct vop_setattr_args *));
static int cd9660_open __P((struct vop_open_args *));
static int cd9660_close __P((struct vop_close_args *));
static int cd9660_access __P((struct vop_access_args *));
@@ -69,18 +70,26 @@ static int cd9660_ioctl __P((struct vop_ioctl_args *));
static int cd9660_select __P((struct vop_select_args *));
static int cd9660_mmap __P((struct vop_mmap_args *));
static int cd9660_seek __P((struct vop_seek_args *));
+struct isoreaddir;
+static int iso_uiodir __P((struct isoreaddir *idp, struct dirent *dp,
+ off_t off));
+static int iso_shipdir __P((struct isoreaddir *idp));
static int cd9660_readdir __P((struct vop_readdir_args *));
+static int cd9660_readlink __P((struct vop_readlink_args *ap));
static int cd9660_abortop __P((struct vop_abortop_args *));
static int cd9660_lock __P((struct vop_lock_args *));
static int cd9660_unlock __P((struct vop_unlock_args *));
static int cd9660_strategy __P((struct vop_strategy_args *));
static int cd9660_print __P((struct vop_print_args *));
+static int cd9660_enotsupp __P((void));
static int cd9660_islocked __P((struct vop_islocked_args *));
+
#if 0
/*
* Mknod vnode call
* Actually remap the device number
*/
+static int
cd9660_mknod(ndp, vap, cred, p)
struct nameidata *ndp;
struct ucred *cred;
@@ -135,7 +144,7 @@ cd9660_mknod(ndp, vap, cred, p)
/*
* Setattr call. Only allowed for block and character special devices.
*/
-int
+static int
cd9660_setattr(ap)
struct vop_setattr_args /* {
struct vnodeop_desc *a_desc;
OpenPOWER on IntegriCloud