summaryrefslogtreecommitdiffstats
path: root/sys/isofs/cd9660
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-09-28 17:15:38 +0000
committerphk <phk@FreeBSD.org>2002-09-28 17:15:38 +0000
commit1dfc2c167f0c0ee95c98088b2c05b50350b97ddb (patch)
tree072f805928e7e540a4d2c0a3a7ec37f7529204a0 /sys/isofs/cd9660
parent523f5243860c40ec5c7a3e961080d6035dbcb435 (diff)
downloadFreeBSD-src-1dfc2c167f0c0ee95c98088b2c05b50350b97ddb.zip
FreeBSD-src-1dfc2c167f0c0ee95c98088b2c05b50350b97ddb.tar.gz
Be consistent about "static" functions: if the function is marked
static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512
Diffstat (limited to 'sys/isofs/cd9660')
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c8
-rw-r--r--sys/isofs/cd9660/cd9660_vnops.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index 4ec27d6..74608a6 100644
--- a/sys/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/isofs/cd9660/cd9660_vfsops.c
@@ -588,7 +588,7 @@ cd9660_root(mp, vpp)
/*
* Get filesystem statistics.
*/
-int
+static int
cd9660_statfs(mp, sbp, td)
struct mount *mp;
register struct statfs *sbp;
@@ -631,7 +631,7 @@ struct ifid {
};
/* ARGSUSED */
-int
+static int
cd9660_fhtovp(mp, fhp, vpp)
register struct mount *mp;
struct fid *fhp;
@@ -661,7 +661,7 @@ cd9660_fhtovp(mp, fhp, vpp)
return (0);
}
-int
+static int
cd9660_vget(mp, ino, flags, vpp)
struct mount *mp;
ino_t ino;
@@ -882,7 +882,7 @@ cd9660_vget_internal(mp, ino, flags, vpp, relocated, isodir)
* Vnode pointer to File handle
*/
/* ARGSUSED */
-int
+static int
cd9660_vptofh(vp, fhp)
struct vnode *vp;
struct fid *fhp;
diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c
index 6899db7..dfa9486 100644
--- a/sys/isofs/cd9660/cd9660_vnops.c
+++ b/sys/isofs/cd9660/cd9660_vnops.c
@@ -78,7 +78,7 @@ static int cd9660_strategy(struct vop_strategy_args *);
/*
* Setattr call. Only allowed for block and character special devices.
*/
-int
+static int
cd9660_setattr(ap)
struct vop_setattr_args /* {
struct vnodeop_desc *a_desc;
@@ -335,7 +335,7 @@ struct isoreaddir {
int ncookies;
};
-int
+static int
iso_uiodir(idp,dp,off)
struct isoreaddir *idp;
struct dirent *dp;
@@ -367,7 +367,7 @@ iso_uiodir(idp,dp,off)
return (0);
}
-int
+static int
iso_shipdir(idp)
struct isoreaddir *idp;
{
OpenPOWER on IntegriCloud