Deleted Added
full compact
28c28
< __FBSDID("$FreeBSD: stable/10/sbin/fsck_ffs/suj.c 248658 2013-03-23 20:00:02Z mckusick $");
---
> __FBSDID("$FreeBSD: stable/10/sbin/fsck_ffs/suj.c 260178 2014-01-02 01:44:14Z scottl $");
128,131c128,131
< LIST_HEAD(cghd, suj_cg) cghash[SUJ_HASHSIZE];
< LIST_HEAD(dblkhd, data_blk) dbhash[SUJ_HASHSIZE];
< struct suj_cg *lastcg;
< struct data_blk *lastblk;
---
> static LIST_HEAD(cghd, suj_cg) cghash[SUJ_HASHSIZE];
> static LIST_HEAD(dblkhd, data_blk) dbhash[SUJ_HASHSIZE];
> static struct suj_cg *lastcg;
> static struct data_blk *lastblk;
133,134c133,134
< TAILQ_HEAD(seghd, suj_seg) allsegs;
< uint64_t oldseq;
---
> static TAILQ_HEAD(seghd, suj_seg) allsegs;
> static uint64_t oldseq;
137c137
< ino_t sujino;
---
> static ino_t sujino;
142,147c142,147
< uint64_t freefrags;
< uint64_t freeblocks;
< uint64_t freeinos;
< uint64_t freedir;
< uint64_t jbytes;
< uint64_t jrecs;
---
> static uint64_t freefrags;
> static uint64_t freeblocks;
> static uint64_t freeinos;
> static uint64_t freedir;
> static uint64_t jbytes;
> static uint64_t jrecs;
157a158
> static void initsuj(void);
2416c2417
< struct jblocks *suj_jblocks;
---
> static struct jblocks *suj_jblocks;
2675a2677
> initsuj();
2677d2678
< TAILQ_INIT(&allsegs);
2765a2767,2791
>
> static void
> initsuj(void)
> {
> int i;
>
> for (i = 0; i < SUJ_HASHSIZE; i++) {
> LIST_INIT(&cghash[i]);
> LIST_INIT(&dbhash[i]);
> }
> lastcg = NULL;
> lastblk = NULL;
> TAILQ_INIT(&allsegs);
> oldseq = 0;
> disk = NULL;
> fs = NULL;
> sujino = 0;
> freefrags = 0;
> freeblocks = 0;
> freeinos = 0;
> freedir = 0;
> jbytes = 0;
> jrecs = 0;
> suj_jblocks = NULL;
> }