From d2d6c5924519e270d1d4ac7df0e8513dc1e976d8 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Wed, 29 Dec 2010 12:16:06 +0000 Subject: [PATCH] Move the definition of mkdirlisthd from header to C file. Reviewed by: mckusick Tested by: pho --- sys/ufs/ffs/ffs_softdep.c | 2 ++ sys/ufs/ffs/softdep.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 3278d6c7b8e3..002911c84678 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -691,6 +691,8 @@ static struct malloc_type *memtype[] = { M_JTRUNC }; +static LIST_HEAD(mkdirlist, mkdir) mkdirlisthd; + #define DtoM(type) (memtype[type]) /* diff --git a/sys/ufs/ffs/softdep.h b/sys/ufs/ffs/softdep.h index f584e91f37ae..3d25067de65c 100644 --- a/sys/ufs/ffs/softdep.h +++ b/sys/ufs/ffs/softdep.h @@ -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