diff options
Diffstat (limited to 'source4/param')
-rw-r--r-- | source4/param/config.mk | 2 | ||||
-rw-r--r-- | source4/param/generic.c | 2 | ||||
-rw-r--r-- | source4/param/param.h (renamed from source4/param/generic.h) | 11 |
3 files changed, 10 insertions, 5 deletions
diff --git a/source4/param/config.mk b/source4/param/config.mk index 2304195e26..af7b98f23e 100644 --- a/source4/param/config.mk +++ b/source4/param/config.mk @@ -4,7 +4,7 @@ OBJ_FILES = loadparm.o \ generic.o \ ../lib/version.o REQUIRED_SUBSYSTEMS = LIBBASIC -PRIVATE_PROTO_HEADER = param.h +PRIVATE_PROTO_HEADER = proto.h PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" \ -DBINDIR=\"$(BINDIR)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\" \ diff --git a/source4/param/generic.c b/source4/param/generic.c index adf1eb0b31..bed675be69 100644 --- a/source4/param/generic.c +++ b/source4/param/generic.c @@ -19,7 +19,7 @@ #include "includes.h" #include "dlinklist.h" -#include "param/generic.h" +#include "param/param.h" #include "system/filesys.h" struct param_section *param_get_section(struct param_context *ctx, const char *name) diff --git a/source4/param/generic.h b/source4/param/param.h index 1d3a5c7cb3..923b06eb86 100644 --- a/source4/param/generic.h +++ b/source4/param/param.h @@ -18,8 +18,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#ifndef _PARAM_GENERIC_H /* _PARAM_GENERIC_H */ -#define _PARAM_GENERIC_H +#ifndef _PARAM_H /* _PARAM_H */ +#define _PARAM_H struct param_context { struct param_section *sections; @@ -38,4 +38,9 @@ struct param_section { struct param *parameters; }; -#endif /* _PARAM_GENERIC_H */ +struct param_context; +struct smbsrv_connection; + +#include "param/proto.h" + +#endif /* _PARAM_H */ |