From cf28df1d9005ce15bc28615da4a9de0cd39c5573 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 12 Apr 2012 16:58:40 +1000 Subject: [PATCH] make _lp_readraw() and _lp_writeraw() static --- source3/include/proto.h | 2 -- 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 d32d2e8823a..57d39b032d2 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 b3c053ef584..539df04975e 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)