Thus spake Mark Santcroos <[EMAIL PROTECTED]>: > in <sys/systm.h>: > extern int nswap; /* size of swap space */ > > in <vm/vm_swap.c>: > static int nswap; /* first block after the interleaved devs */ > > Is the extern pointing to this variable? (It seems so, don't see any other > such variable in the three) > If so, is there any problem with making nswap non-static?
It's a constant that is only relevant to the management of the swap allocation bitmap, so it is properly static. It shouldn't be declared in sys/systm.h. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message