summaryrefslogtreecommitdiffstats
path: root/sys/isofs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-11-18 14:40:36 +0000
committerphk <phk@FreeBSD.org>1997-11-18 14:40:36 +0000
commit907dcc5c043baddb164e2c76f04097ea096b9c3a (patch)
treefa7c6d46d7eefbfb45c2ed27766ffd7a6ee8fff4 /sys/isofs
parentc1b747455e5824f841ec627660f53ddd185a0fc2 (diff)
downloadFreeBSD-src-907dcc5c043baddb164e2c76f04097ea096b9c3a.zip
FreeBSD-src-907dcc5c043baddb164e2c76f04097ea096b9c3a.tar.gz
Staticize a few things.
Diffstat (limited to 'sys/isofs')
-rw-r--r--sys/isofs/cd9660/cd9660_node.c6
-rw-r--r--sys/isofs/cd9660/cd9660_node.h4
-rw-r--r--sys/isofs/cd9660/cd9660_vnops.c11
3 files changed, 10 insertions, 11 deletions
diff --git a/sys/isofs/cd9660/cd9660_node.c b/sys/isofs/cd9660/cd9660_node.c
index 0ac56f8..8464191 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.20 1997/08/02 14:31:18 bde Exp $
+ * $Id: cd9660_node.c,v 1.21 1997/10/16 10:47:36 phk Exp $
*/
#include <sys/param.h>
@@ -60,7 +60,7 @@ u_long isohash;
#define INOHASH(device, inum) (((device) + ((inum)>>12)) & isohash)
struct simplelock cd9660_ihash_slock;
-
+static void cd9660_ihashrem __P((struct iso_node *));
static unsigned cd9660_chars2ui __P((unsigned char *begin, int len));
/*
@@ -131,7 +131,7 @@ cd9660_ihashins(ip)
/*
* Remove the inode from the hash table.
*/
-void
+static void
cd9660_ihashrem(ip)
register struct iso_node *ip;
{
diff --git a/sys/isofs/cd9660/cd9660_node.h b/sys/isofs/cd9660/cd9660_node.h
index 971cdba..4a1a79c 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.6 (Berkeley) 5/14/95
- * $Id: cd9660_node.h,v 1.14 1997/10/16 10:47:39 phk Exp $
+ * $Id: cd9660_node.h,v 1.15 1997/10/17 12:36:10 phk Exp $
*/
/*
@@ -104,7 +104,6 @@ int cd9660_lookup __P((struct vop_cachedlookup_args *));
int cd9660_inactive __P((struct vop_inactive_args *));
int cd9660_reclaim __P((struct vop_reclaim_args *));
int cd9660_bmap __P((struct vop_bmap_args *));
-int cd9660_pathconf __P((struct vop_pathconf_args *));
int cd9660_blkatoff __P((struct vnode *vp, off_t offset, char **res, struct buf **bpp));
void cd9660_defattr __P((struct iso_directory_record *,
@@ -113,6 +112,5 @@ void cd9660_deftstamp __P((struct iso_directory_record *,
struct iso_node *, struct buf *, enum ISO_FTYPE));
struct vnode *cd9660_ihashget __P((dev_t, ino_t));
void cd9660_ihashins __P((struct iso_node *));
-void cd9660_ihashrem __P((struct iso_node *));
int cd9660_tstamp_conv7 __P((u_char *, struct timespec *, enum ISO_FTYPE));
int cd9660_tstamp_conv17 __P((u_char *, struct timespec *));
diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c
index 6b0f801..8b9981a 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.19 (Berkeley) 5/27/95
- * $Id: cd9660_vnops.c,v 1.48 1997/10/27 13:33:37 bde Exp $
+ * $Id: cd9660_vnops.c,v 1.49 1997/10/27 14:55:49 bde Exp $
*/
#include <sys/param.h>
@@ -60,6 +60,7 @@
static int cd9660_setattr __P((struct vop_setattr_args *));
static int cd9660_access __P((struct vop_access_args *));
static int cd9660_getattr __P((struct vop_getattr_args *));
+static int cd9660_pathconf __P((struct vop_pathconf_args *));
static int cd9660_read __P((struct vop_read_args *));
struct isoreaddir;
static int iso_uiodir __P((struct isoreaddir *idp, struct dirent *dp,
@@ -769,7 +770,7 @@ cd9660_print(ap)
/*
* Return POSIX pathconf information applicable to cd9660 filesystems.
*/
-int
+static int
cd9660_pathconf(ap)
struct vop_pathconf_args /* {
struct vnode *a_vp;
@@ -810,7 +811,7 @@ cd9660_pathconf(ap)
* Global vfs data structures for cd9660
*/
vop_t **cd9660_vnodeop_p;
-struct vnodeopv_entry_desc cd9660_vnodeop_entries[] = {
+static struct vnodeopv_entry_desc cd9660_vnodeop_entries[] = {
{ &vop_default_desc, (vop_t *) vop_defaultop },
{ &vop_abortop_desc, (vop_t *) cd9660_abortop },
{ &vop_access_desc, (vop_t *) cd9660_access },
@@ -840,7 +841,7 @@ VNODEOP_SET(cd9660_vnodeop_opv_desc);
* Special device vnode ops
*/
vop_t **cd9660_specop_p;
-struct vnodeopv_entry_desc cd9660_specop_entries[] = {
+static struct vnodeopv_entry_desc cd9660_specop_entries[] = {
{ &vop_default_desc, (vop_t *) spec_vnoperate },
{ &vop_access_desc, (vop_t *) cd9660_access },
{ &vop_getattr_desc, (vop_t *) cd9660_getattr },
@@ -858,7 +859,7 @@ static struct vnodeopv_desc cd9660_specop_opv_desc =
VNODEOP_SET(cd9660_specop_opv_desc);
vop_t **cd9660_fifoop_p;
-struct vnodeopv_entry_desc cd9660_fifoop_entries[] = {
+static struct vnodeopv_entry_desc cd9660_fifoop_entries[] = {
{ &vop_default_desc, (vop_t *) fifo_vnoperate },
{ &vop_access_desc, (vop_t *) cd9660_access },
{ &vop_getattr_desc, (vop_t *) cd9660_getattr },
OpenPOWER on IntegriCloud