summaryrefslogtreecommitdiffstats
path: root/sys/gnu/ext2fs/ext2_alloc.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1995-11-08 04:50:00 +0000
committerdyson <dyson@FreeBSD.org>1995-11-08 04:50:00 +0000
commit12d1627c814af7fac6e3b380ca27f07473c90358 (patch)
treea5b0c51b5427262cca6fa43507c2a5f4a5ed8489 /sys/gnu/ext2fs/ext2_alloc.c
parent9f443f927cffadf2dfb1b66cc828e2b614611671 (diff)
downloadFreeBSD-src-12d1627c814af7fac6e3b380ca27f07473c90358.zip
FreeBSD-src-12d1627c814af7fac6e3b380ca27f07473c90358.tar.gz
Cleaned up some lint and some obvious prototyping errors.
Diffstat (limited to 'sys/gnu/ext2fs/ext2_alloc.c')
-rw-r--r--sys/gnu/ext2fs/ext2_alloc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/gnu/ext2fs/ext2_alloc.c b/sys/gnu/ext2fs/ext2_alloc.c
index 6a0f5d3..0805cab 100644
--- a/sys/gnu/ext2fs/ext2_alloc.c
+++ b/sys/gnu/ext2fs/ext2_alloc.c
@@ -112,7 +112,6 @@ ext2_alloc(ip, lbn, bpref, size, cred, bnp)
{
register struct ext2_sb_info *fs;
daddr_t bno;
- int cg, error;
*bnp = 0;
fs = ip->i_e2fs;
@@ -391,7 +390,7 @@ ext2_valloc(ap)
register struct ext2_sb_info *fs;
register struct inode *ip;
mode_t mode = ap->a_mode;
- ino_t ino, ipref;
+ ino_t ino;
int i, error;
#if !defined(__FreeBSD__)
struct timeval time;
@@ -469,7 +468,6 @@ ext2_blkpref(ip, lbn, indx, bap, blocknr)
daddr_t *bap;
daddr_t blocknr;
{
- register struct ext2_sb_info *fs;
int tmp;
/* if the next block is actually what we thought it is,
OpenPOWER on IntegriCloud