diff options
author | Derrell Lipman <derrell.lipman@unwireduniverse.com> | 2008-03-06 10:41:42 -0500 |
---|---|---|
committer | Derrell Lipman <derrell.lipman@unwireduniverse.com> | 2008-03-06 10:41:42 -0500 |
commit | 914cd3e483bd83fb4d8e769b90d9136336ea51e9 (patch) | |
tree | 95f17eeb5c6ee299e57edd3d6686b492d136bfe4 /source3/param/params.c | |
parent | 5eb347193f7f52bfc672b83da6e45b59db31423c (diff) | |
download | samba-914cd3e483bd83fb4d8e769b90d9136336ea51e9.tar.gz samba-914cd3e483bd83fb4d8e769b90d9136336ea51e9.tar.bz2 samba-914cd3e483bd83fb4d8e769b90d9136336ea51e9.zip |
Eliminate global variable in_client and a plethora of extern declarations.
Derrell
(This used to be commit b7f34e7ef2907b498a0645ce68f2773ed7d60cdc)
Diffstat (limited to 'source3/param/params.c')
-rw-r--r-- | source3/param/params.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/param/params.c b/source3/param/params.c index 44b44d99b6..e69715e4a3 100644 --- a/source3/param/params.c +++ b/source3/param/params.c @@ -80,8 +80,6 @@ #include "includes.h" -extern bool in_client; - /* -------------------------------------------------------------------------- ** * Constants... */ @@ -519,7 +517,7 @@ static bool Parse( DATA_BLOB *buf, myFILE *InFile, static myFILE *OpenConfFile( const char *FileName ) { const char *func = "params.c:OpenConfFile() -"; - int lvl = in_client?1:0; + int lvl = lp_is_in_client() ? 1 : 0; myFILE *ret; ret = SMB_MALLOC_P(myFILE); |