summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/specfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-14 09:55:16 +0000
committerphk <phk@FreeBSD.org>1995-12-14 09:55:16 +0000
commit9cb413a93c0c68c45292e4086ffc7cc2f6d36d3e (patch)
tree9887f4bf5939f3591e9b3a4f6e1865f9a1f810d8 /sys/miscfs/specfs
parent63ec2c0ae9b44c5394bae5d6ee7fea5be9659585 (diff)
downloadFreeBSD-src-9cb413a93c0c68c45292e4086ffc7cc2f6d36d3e.zip
FreeBSD-src-9cb413a93c0c68c45292e4086ffc7cc2f6d36d3e.tar.gz
Another mega commit to staticize things.
Diffstat (limited to 'sys/miscfs/specfs')
-rw-r--r--sys/miscfs/specfs/spec_vnops.c7
-rw-r--r--sys/miscfs/specfs/specdev.h7
2 files changed, 6 insertions, 8 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c
index d9a3d2c..14d9939 100644
--- a/sys/miscfs/specfs/spec_vnops.c
+++ b/sys/miscfs/specfs/spec_vnops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)spec_vnops.c 8.6 (Berkeley) 4/9/94
- * $Id: spec_vnops.c,v 1.24 1995/12/11 09:24:50 phk Exp $
+ * $Id: spec_vnops.c,v 1.25 1995/12/13 15:13:31 julian Exp $
*/
#include <sys/param.h>
@@ -60,6 +60,9 @@
#include <miscfs/specfs/specdev.h>
+static int spec_ebadf __P((void));
+static int spec_getattr __P((struct vop_getattr_args *));
+
struct vnode *speclisth[SPECHSZ];
vop_t **spec_vnodeop_p;
static struct vnodeopv_entry_desc spec_vnodeop_entries[] = {
@@ -842,7 +845,7 @@ spec_getpages(ap)
}
/* ARGSUSED */
-int
+static int
spec_getattr(ap)
struct vop_getattr_args /* {
struct vnode *a_vp;
diff --git a/sys/miscfs/specfs/specdev.h b/sys/miscfs/specfs/specdev.h
index d5f3755..c2bd8be 100644
--- a/sys/miscfs/specfs/specdev.h
+++ b/sys/miscfs/specfs/specdev.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)specdev.h 8.2 (Berkeley) 2/2/94
- * $Id: specdev.h,v 1.6 1995/11/21 12:54:02 bde Exp $
+ * $Id: specdev.h,v 1.7 1995/12/11 04:56:43 dyson Exp $
*/
/*
@@ -82,17 +82,12 @@ struct buf;
struct uio;
int spec_badop __P((void));
-int spec_ebadf __P((void));
int spec_lookup __P((struct vop_lookup_args *));
#define spec_create ((int (*) __P((struct vop_create_args *)))spec_badop)
#define spec_mknod ((int (*) __P((struct vop_mknod_args *)))spec_badop)
int spec_open __P((struct vop_open_args *));
int spec_close __P((struct vop_close_args *));
#define spec_access ((int (*) __P((struct vop_access_args *)))spec_ebadf)
-/*
-#define spec_getattr ((int (*) __P((struct vop_getattr_args *)))spec_ebadf)
-*/
-int spec_getattr __P((struct vop_getattr_args *));
#define spec_setattr ((int (*) __P((struct vop_setattr_args *)))spec_ebadf)
int spec_read __P((struct vop_read_args *));
int spec_write __P((struct vop_write_args *));
OpenPOWER on IntegriCloud