summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-20 11:07:28 +1300
committerJeremy Allison <jra@samba.org>2014-05-07 19:49:15 +0200
commitb64ac379361b01402703a56dd5c89f3fcef8cadd (patch)
tree9b84f86dfe381f1ab2a4f7c436468fc9e953d636 /source3/param/loadparm.c
parent61103e1a469b4d589b139ce8bdcc1766dc2dd36e (diff)
downloadsamba-b64ac379361b01402703a56dd5c89f3fcef8cadd.tar.gz
samba-b64ac379361b01402703a56dd5c89f3fcef8cadd.tar.xz
samba-b64ac379361b01402703a56dd5c89f3fcef8cadd.zip
param: move the declaration of the file_lists structure to a shared header
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 9f67a9ebf3..479a41eaae 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -249,13 +249,6 @@ static struct loadparm_service sDefault =
.dummy = ""
};
-static struct file_lists {
- struct file_lists *next;
- char *name;
- char *subfname;
- time_t modtime;
-} *file_lists = NULL;
-
/* local variables */
static struct loadparm_service **ServicePtrs = NULL;
static int iNumServices = 0;
@@ -263,6 +256,7 @@ static int iServiceIndex = 0;
static struct db_context *ServiceHash;
static bool bInGlobalSection = true;
static bool bGlobalOnly = false;
+static struct file_lists *file_lists = NULL;
#define NUMPARAMETERS (sizeof(parm_table) / sizeof(struct parm_struct))