diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-12 16:58:40 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-16 14:32:38 +1000 |
commit | cf28df1d9005ce15bc28615da4a9de0cd39c5573 (patch) | |
tree | 8a591e0b51a633b08d70ed687b2f7675e954570d | |
parent | acb64471b376e55e7a51355d0ce5e8a041719ba6 (diff) | |
download | samba-cf28df1d9005ce15bc28615da4a9de0cd39c5573.tar.gz samba-cf28df1d9005ce15bc28615da4a9de0cd39c5573.tar.bz2 samba-cf28df1d9005ce15bc28615da4a9de0cd39c5573.zip |
make _lp_readraw() and _lp_writeraw() static
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index d32d2e8823..57d39b032d 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1189,10 +1189,8 @@ const char **lp_init_logon_delayed_hosts(void); int lp_init_logon_delay(void); bool lp_load_printers(void); bool lp_readraw(void); -bool _lp_readraw(void); bool lp_large_readwrite(void); bool lp_writeraw(void); -bool _lp_writeraw(void); bool lp_null_passwords(void); bool lp_obey_pam_restrictions(void); bool lp_encrypted_passwords(void); diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index b3c053ef58..539df04975 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -5221,9 +5221,9 @@ static FN_GLOBAL_BOOL(lp_domain_logons, bDomainLogons) FN_GLOBAL_LIST(lp_init_logon_delayed_hosts, szInitLogonDelayedHosts) FN_GLOBAL_INTEGER(lp_init_logon_delay, InitLogonDelay) FN_GLOBAL_BOOL(lp_load_printers, bLoadPrinters) -FN_GLOBAL_BOOL(_lp_readraw, bReadRaw) +static FN_GLOBAL_BOOL(_lp_readraw, bReadRaw) FN_GLOBAL_BOOL(lp_large_readwrite, bLargeReadwrite) -FN_GLOBAL_BOOL(_lp_writeraw, bWriteRaw) +static FN_GLOBAL_BOOL(_lp_writeraw, bWriteRaw) FN_GLOBAL_BOOL(lp_null_passwords, bNullPasswords) FN_GLOBAL_BOOL(lp_obey_pam_restrictions, bObeyPamRestrictions) FN_GLOBAL_BOOL(lp_encrypted_passwords, bEncryptPasswords) |