mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
declare locally used globals as static.
This commit is contained in:
parent
95d5259efc
commit
a2d440dae0
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Reference in a new issue