summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2001-12-22 12:35:03 +0000
committeralfred <alfred@FreeBSD.org>2001-12-22 12:35:03 +0000
commit6b2691c2a271fef409a04b1234a688b011a0fce4 (patch)
treed8fda9ee378bd7d931078aeac7f5a19d072063ea /sbin/fsck_ffs
parent5222d11f358d3d9750b82de72b047efd562f7b00 (diff)
downloadFreeBSD-src-6b2691c2a271fef409a04b1234a688b011a0fce4.zip
FreeBSD-src-6b2691c2a271fef409a04b1234a688b011a0fce4.tar.gz
declare locally used globals as static.
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c
index 626d4af..6305c19 100644
--- a/sbin/fsck_ffs/inode.c
+++ b/sbin/fsck_ffs/inode.c
@@ -310,9 +310,9 @@ ginode(inumber)
* Special purpose version of ginode used to optimize first pass
* over all the inodes in numerical order.
*/
-ino_t nextino, lastinum, lastvalidinum;
-long readcnt, readpercg, fullcnt, inobufsize, partialcnt, partialsize;
-struct dinode *inodebuf;
+static ino_t nextino, lastinum, lastvalidinum;
+static long readcnt, readpercg, fullcnt, inobufsize, partialcnt, partialsize;
+static struct dinode *inodebuf;
struct dinode *
getnextinode(inumber)
OpenPOWER on IntegriCloud