declare locally used globals as static.
This commit is contained in:
parent
95d5259efc
commit
a2d440dae0
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user