1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-20 02:38:43 +00:00

Staticize.

This commit is contained in:
Poul-Henning Kamp 1995-12-09 20:34:16 +00:00
parent f2d49a145f
commit ba43d44d3a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12700

View File

@ -144,18 +144,15 @@ struct vn_softc {
/* sc_flags */
#define VNF_INITED 0x01
struct vn_softc *vn_softc[NVN];
u_long vn_options;
static struct vn_softc *vn_softc[NVN];
static u_long vn_options;
#define IFOPT(vn,opt) if (((vn)->sc_options|vn_options) & (opt))
/*
* XXX these decls should be static (without __P(())) or elsewhere.
*/
void vniodone __P((struct buf *bp));
int vnsetcred __P((struct vn_softc *vn, struct ucred *cred));
void vnshutdown __P((void));
void vnclear __P((struct vn_softc *vn));
static void vniodone (struct buf *bp);
static int vnsetcred (struct vn_softc *vn, struct ucred *cred);
static void vnshutdown (void);
static void vnclear (struct vn_softc *vn);
static int
vnclose(dev_t dev, int flags, int mode, struct proc *p)