1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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>
This commit is contained in:
Brad Hards 2009-11-24 13:43:59 +11:00 committed by Andrew Bartlett
parent 3ed0cae14b
commit 840cdfa2fa
3 changed files with 3 additions and 1 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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;