mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
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>
This commit is contained in:
committed by
Jeremy Allison
parent
61103e1a46
commit
b64ac37936
@ -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))
|
||||
|
||||
|
Reference in New Issue
Block a user