Move the definition of mkdirlisthd from header to C file.

Reviewed by:	mckusick
Tested by:	pho
This commit is contained in:
Konstantin Belousov 2010-12-29 12:16:06 +00:00
parent d91e813c7b
commit d2d6c59245
2 changed files with 2 additions and 1 deletions

View File

@ -691,6 +691,8 @@ static struct malloc_type *memtype[] = {
M_JTRUNC
};
static LIST_HEAD(mkdirlist, mkdir) mkdirlisthd;
#define DtoM(type) (memtype[type])
/*

View File

@ -657,7 +657,6 @@ struct mkdir {
struct buf *md_buf; /* MKDIR_BODY: buffer holding dir */
LIST_ENTRY(mkdir) md_mkdirs; /* list of all mkdirs */
};
LIST_HEAD(mkdirlist, mkdir) mkdirlisthd;
/*
* A "dirrem" structure describes an operation to decrement the link