diff options
author | Brad Hards <bradh@frogmouth.net> | 2009-11-24 13:43:59 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-11-24 15:21:57 +1100 |
commit | 840cdfa2fabbb48d2f18dc3cea65ff8123bf6ca9 (patch) | |
tree | b710c612cf60ed5536026fc5266fb754ff2f4834 | |
parent | 3ed0cae14bdf88387abc016d678127d477d760b7 (diff) | |
download | samba-840cdfa2fabbb48d2f18dc3cea65ff8123bf6ca9.tar.gz samba-840cdfa2fabbb48d2f18dc3cea65ff8123bf6ca9.tar.bz2 samba-840cdfa2fabbb48d2f18dc3cea65ff8123bf6ca9.zip |
s4:param remove reference to private header from source4/param/param.h
source4/param/param.h has a
param.h is a public header (and parmlist isn't, even if the relative path
could work), so I suggest making it a forward declaration in the header, and
including parmlist.h in the implementation.
(commit message included from e-mail by Andrew Bartlett)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source4/param/generic.c | 1 | ||||
-rw-r--r-- | source4/param/loadparm.c | 1 | ||||
-rw-r--r-- | source4/param/param.h | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/source4/param/generic.c b/source4/param/generic.c index 41d01de9d3..29b97bc09e 100644 --- a/source4/param/generic.c +++ b/source4/param/generic.c @@ -18,6 +18,7 @@ #include "includes.h" #include "../lib/util/dlinklist.h" +#include "../lib/util/parmlist.h" #include "param/param.h" #include "param/loadparm.h" #include "system/filesys.h" diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index f2e4ace122..d65c3f9b16 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -61,6 +61,7 @@ #include "smb_server/smb_server.h" #include "libcli/raw/signing.h" #include "../lib/util/dlinklist.h" +#include "../lib/util/parmlist.h" #include "param/param.h" #include "param/loadparm.h" #include "libcli/raw/libcliraw.h" diff --git a/source4/param/param.h b/source4/param/param.h index 3ce5e93acf..52224252a0 100644 --- a/source4/param/param.h +++ b/source4/param/param.h @@ -20,7 +20,7 @@ #ifndef _PARAM_H /* _PARAM_H */ #define _PARAM_H -#include "../lib/util/parmlist.h" +struct parmlist_entry; struct param_context { struct param_section *sections; |