Staticize the malloc definitions.
Obtained from: ~bde/sys.dif.gz
This commit is contained in:
parent
f67a6639a2
commit
e087ce2dd2
@ -93,8 +93,8 @@
|
|||||||
#define MD_NSECT (10000 * 2)
|
#define MD_NSECT (10000 * 2)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MALLOC_DEFINE(M_MD, "MD disk", "Memory Disk");
|
static MALLOC_DEFINE(M_MD, "MD disk", "Memory Disk");
|
||||||
MALLOC_DEFINE(M_MDSECT, "MD sectors", "Memory Disk Sectors");
|
static MALLOC_DEFINE(M_MDSECT, "MD sectors", "Memory Disk Sectors");
|
||||||
|
|
||||||
static int md_debug;
|
static int md_debug;
|
||||||
SYSCTL_INT(_debug, OID_AUTO, mddebug, CTLFLAG_RW, &md_debug, 0, "");
|
SYSCTL_INT(_debug, OID_AUTO, mddebug, CTLFLAG_RW, &md_debug, 0, "");
|
||||||
|
Loading…
Reference in New Issue
Block a user