From 1dfc2c167f0c0ee95c98088b2c05b50350b97ddb Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 28 Sep 2002 17:15:38 +0000 Subject: 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 --- sys/isofs/cd9660/cd9660_vfsops.c | 8 ++++---- sys/isofs/cd9660/cd9660_vnops.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'sys/isofs/cd9660') 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; { -- cgit v1.1