summaryrefslogtreecommitdiffstats
path: root/sys/fs/fifofs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-11 09:24:58 +0000
committerphk <phk@FreeBSD.org>1995-12-11 09:24:58 +0000
commitdffac85a9b5e388ce46a14b1cd4cd6743142aaea (patch)
tree66dfddf2f438b842afa6097479c2c3e1a18e7d3a /sys/fs/fifofs
parentc9fc5826da67c9d1d16cde24c7ce8398b1e701f3 (diff)
downloadFreeBSD-src-dffac85a9b5e388ce46a14b1cd4cd6743142aaea.zip
FreeBSD-src-dffac85a9b5e388ce46a14b1cd4cd6743142aaea.tar.gz
Staticize.
Diffstat (limited to 'sys/fs/fifofs')
-rw-r--r--sys/fs/fifofs/fifo.h6
-rw-r--r--sys/fs/fifofs/fifo_vnops.c14
2 files changed, 8 insertions, 12 deletions
diff --git a/sys/fs/fifofs/fifo.h b/sys/fs/fifofs/fifo.h
index a94b425..95c1a98 100644
--- a/sys/fs/fifofs/fifo.h
+++ b/sys/fs/fifofs/fifo.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)fifo.h 8.2 (Berkeley) 2/2/94
- * $Id: fifo.h,v 1.6 1995/11/09 08:15:25 bde Exp $
+ * $Id: fifo.h,v 1.7 1995/11/21 12:53:52 bde Exp $
*/
extern vop_t **fifo_vnodeop_p;
@@ -40,7 +40,6 @@ extern vop_t **fifo_vnodeop_p;
* Prototypes for fifo operations on vnodes.
*/
int fifo_badop __P((void));
-int fifo_ebadf __P((void));
int fifo_printinfo __P((struct vnode *));
int fifo_lookup __P((struct vop_lookup_args *));
#define fifo_create ((int (*) __P((struct vop_create_args *)))fifo_badop)
@@ -68,11 +67,8 @@ int fifo_select __P((struct vop_select_args *));
#define fifo_abortop ((int (*) __P((struct vop_abortop_args *)))fifo_badop)
#define fifo_inactive ((int (*) __P((struct vop_inactive_args *)))nullop)
#define fifo_reclaim ((int (*) __P((struct vop_reclaim_args *)))nullop)
-int fifo_lock __P((struct vop_lock_args *));
-int fifo_unlock __P((struct vop_unlock_args *));
int fifo_bmap __P((struct vop_bmap_args *));
#define fifo_strategy ((int (*) __P((struct vop_strategy_args *)))fifo_badop)
-int fifo_print __P((struct vop_print_args *));
#define fifo_islocked ((int (*) __P((struct vop_islocked_args *)))nullop)
int fifo_pathconf __P((struct vop_pathconf_args *));
int fifo_advlock __P((struct vop_advlock_args *));
diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c
index dee76fb..ecf072d 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.11 1995/09/04 00:20:33 dyson Exp $
+ * $Id: fifo_vnops.c,v 1.12 1995/11/09 08:15:27 bde Exp $
*/
#include <sys/param.h>
@@ -63,7 +63,7 @@ struct fifoinfo {
};
vop_t **fifo_vnodeop_p;
-struct vnodeopv_entry_desc fifo_vnodeop_entries[] = {
+static struct vnodeopv_entry_desc fifo_vnodeop_entries[] = {
{ &vop_default_desc, (vop_t *)vn_default_error },
{ &vop_lookup_desc, (vop_t *)fifo_lookup }, /* lookup */
{ &vop_create_desc, (vop_t *)fifo_create }, /* create */
@@ -107,7 +107,7 @@ struct vnodeopv_entry_desc fifo_vnodeop_entries[] = {
{ &vop_bwrite_desc, (vop_t *)fifo_bwrite }, /* bwrite */
{ NULL, NULL }
};
-struct vnodeopv_desc fifo_vnodeop_opv_desc =
+static struct vnodeopv_desc fifo_vnodeop_opv_desc =
{ &fifo_vnodeop_p, fifo_vnodeop_entries };
VNODEOP_SET(fifo_vnodeop_opv_desc);
@@ -382,7 +382,7 @@ fifo_bmap(ap)
* At the moment we do not do any locking.
*/
/* ARGSUSED */
-int
+static int
fifo_lock(ap)
struct vop_lock_args /* {
struct vnode *a_vp;
@@ -393,7 +393,7 @@ fifo_lock(ap)
}
/* ARGSUSED */
-int
+static int
fifo_unlock(ap)
struct vop_unlock_args /* {
struct vnode *a_vp;
@@ -459,7 +459,7 @@ fifo_printinfo(vp)
/*
* Print out the contents of a fifo vnode.
*/
-int
+static int
fifo_print(ap)
struct vop_print_args /* {
struct vnode *a_vp;
@@ -503,7 +503,7 @@ fifo_pathconf(ap)
/*
* Fifo failed operation
*/
-int
+static int
fifo_ebadf()
{
OpenPOWER on IntegriCloud