summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-02-09 06:11:36 +0000
committereivind <eivind@FreeBSD.org>1998-02-09 06:11:36 +0000
commitd7a6ab28035779065026b70dca440892d819c0bc (patch)
tree930fd4603b42a095e9f3669517dea29274323575 /sys/ufs
parent4538098d0b3fbe09f64c578b730483a6e77ff40f (diff)
downloadFreeBSD-src-d7a6ab28035779065026b70dca440892d819c0bc.zip
FreeBSD-src-d7a6ab28035779065026b70dca440892d819c0bc.tar.gz
Staticize.
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c4
-rw-r--r--sys/ufs/mfs/mfs_vfsops.c4
-rw-r--r--sys/ufs/ufs/ufs_ihash.c8
-rw-r--r--sys/ufs/ufs/ufs_quota.c4
-rw-r--r--sys/ufs/ufs/ufs_vnops.c8
5 files changed, 14 insertions, 14 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index 058f76e..9a78d71 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ffs_vfsops.c 8.31 (Berkeley) 5/20/95
- * $Id: ffs_vfsops.c,v 1.69 1998/02/04 22:33:33 eivind Exp $
+ * $Id: ffs_vfsops.c,v 1.70 1998/02/06 12:14:15 eivind Exp $
*/
#include "opt_quota.h"
@@ -74,7 +74,7 @@ static int ffs_mount __P((struct mount *, char *, caddr_t,
struct nameidata *, struct proc *));
static int ffs_init __P((struct vfsconf *));
-struct vfsops ufs_vfsops = {
+static struct vfsops ufs_vfsops = {
ffs_mount,
ufs_start,
ffs_unmount,
diff --git a/sys/ufs/mfs/mfs_vfsops.c b/sys/ufs/mfs/mfs_vfsops.c
index 7bb5cb9..e37ead5 100644
--- a/sys/ufs/mfs/mfs_vfsops.c
+++ b/sys/ufs/mfs/mfs_vfsops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)mfs_vfsops.c 8.11 (Berkeley) 6/19/95
- * $Id: mfs_vfsops.c,v 1.38 1997/11/12 05:42:30 julian Exp $
+ * $Id: mfs_vfsops.c,v 1.39 1998/01/24 02:54:56 eivind Exp $
*/
#include "opt_mfs.h"
@@ -86,7 +86,7 @@ static int mfs_init __P((struct vfsconf *));
/*
* mfs vfs operations.
*/
-struct vfsops mfs_vfsops = {
+static struct vfsops mfs_vfsops = {
mfs_mount,
mfs_start,
ffs_unmount,
diff --git a/sys/ufs/ufs/ufs_ihash.c b/sys/ufs/ufs/ufs_ihash.c
index 56be3fd..a51ff4e 100644
--- a/sys/ufs/ufs/ufs_ihash.c
+++ b/sys/ufs/ufs/ufs_ihash.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_ihash.c 8.7 (Berkeley) 5/17/95
- * $Id: ufs_ihash.c,v 1.14 1998/02/04 22:33:35 eivind Exp $
+ * $Id: ufs_ihash.c,v 1.15 1998/02/06 12:14:17 eivind Exp $
*/
#include <sys/param.h>
@@ -49,10 +49,10 @@ static MALLOC_DEFINE(M_UFSIHASH, "UFS ihash", "UFS Inode hash tables");
/*
* Structures associated with inode cacheing.
*/
-LIST_HEAD(ihashhead, inode) *ihashtbl;
-u_long ihash; /* size of hash table - 1 */
+static LIST_HEAD(ihashhead, inode) *ihashtbl;
+static u_long ihash; /* size of hash table - 1 */
#define INOHASH(device, inum) (&ihashtbl[((device) + (inum)) & ihash])
-struct simplelock ufs_ihash_slock;
+static struct simplelock ufs_ihash_slock;
/*
* Initialize inode hash table.
diff --git a/sys/ufs/ufs/ufs_quota.c b/sys/ufs/ufs/ufs_quota.c
index 20b4f23..da4641d 100644
--- a/sys/ufs/ufs/ufs_quota.c
+++ b/sys/ufs/ufs/ufs_quota.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_quota.c 8.5 (Berkeley) 5/20/95
- * $Id: ufs_quota.c,v 1.17 1998/02/04 22:33:36 eivind Exp $
+ * $Id: ufs_quota.c,v 1.18 1998/02/06 12:14:18 eivind Exp $
*/
#include <sys/param.h>
@@ -692,7 +692,7 @@ static u_long dqhash;
* Dquot free list.
*/
#define DQUOTINC 5 /* minimum free dquots desired */
-TAILQ_HEAD(dqfreelist, dquot) dqfreelist;
+static TAILQ_HEAD(dqfreelist, dquot) dqfreelist;
static long numdquot, desireddquot = DQUOTINC;
/*
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c
index f771b58..28eae14 100644
--- a/sys/ufs/ufs/ufs_vnops.c
+++ b/sys/ufs/ufs/ufs_vnops.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_vnops.c 8.27 (Berkeley) 5/27/95
- * $Id: ufs_vnops.c,v 1.76 1998/02/04 22:33:37 eivind Exp $
+ * $Id: ufs_vnops.c,v 1.77 1998/02/06 12:14:19 eivind Exp $
*/
#include "opt_quota.h"
@@ -2126,7 +2126,7 @@ ufs_missingop(ap)
}
/* Global vfs data structures for ufs. */
-vop_t **ufs_vnodeop_p;
+static vop_t **ufs_vnodeop_p;
static struct vnodeopv_entry_desc ufs_vnodeop_entries[] = {
{ &vop_default_desc, (vop_t *) vop_defaultop },
{ &vop_fsync_desc, (vop_t *) ufs_missingop },
@@ -2169,7 +2169,7 @@ static struct vnodeopv_entry_desc ufs_vnodeop_entries[] = {
static struct vnodeopv_desc ufs_vnodeop_opv_desc =
{ &ufs_vnodeop_p, ufs_vnodeop_entries };
-vop_t **ufs_specop_p;
+static vop_t **ufs_specop_p;
static struct vnodeopv_entry_desc ufs_specop_entries[] = {
{ &vop_default_desc, (vop_t *) spec_vnoperate },
{ &vop_fsync_desc, (vop_t *) ufs_missingop },
@@ -2190,7 +2190,7 @@ static struct vnodeopv_entry_desc ufs_specop_entries[] = {
static struct vnodeopv_desc ufs_specop_opv_desc =
{ &ufs_specop_p, ufs_specop_entries };
-vop_t **ufs_fifoop_p;
+static vop_t **ufs_fifoop_p;
static struct vnodeopv_entry_desc ufs_fifoop_entries[] = {
{ &vop_default_desc, (vop_t *) fifo_vnoperate },
{ &vop_fsync_desc, (vop_t *) ufs_missingop },
OpenPOWER on IntegriCloud