Staticize a few things.

This commit is contained in:
Poul-Henning Kamp 1997-11-18 14:40:36 +00:00
parent fdfcd4ae29
commit f041a9bdfc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31271
6 changed files with 20 additions and 22 deletions

View file

@ -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;
{

View file

@ -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 *));

View file

@ -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 },

View file

@ -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;
{

View file

@ -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 *));

View file

@ -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 },