diff options
author | Michael Adam <obnox@samba.org> | 2015-04-21 15:24:42 +0200 |
---|---|---|
committer | Ira Cooper <ira@samba.org> | 2015-04-22 13:57:30 +0200 |
commit | 40c9cc150ad99c468207f1762b0a2eaba9f03925 (patch) | |
tree | ae1c5475a26d32b8804226c623d779d103e93457 /source3/include | |
parent | 0e0d77519c27038b30fec92d542198e97be767d9 (diff) | |
download | samba-40c9cc150ad99c468207f1762b0a2eaba9f03925.tar.gz |
s3:param: remove arg save_defaults from lp_load_with_registry_shares()
This is only used in command line contexts, especially for testparm
which relies on safe defaults. The only changed use is in sharesec,
but it does not harm to also safe the defaults there.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index ce68640d9ff..4acad41a939 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1063,8 +1063,7 @@ bool lp_load_client(const char *file_name); bool lp_load_global_no_reinit(const char *file_name); bool lp_load_no_reinit(const char *file_name); bool lp_load_client_no_reinit(const char *file_name); -bool lp_load_with_registry_shares(const char *pszFname, - bool save_defaults); +bool lp_load_with_registry_shares(const char *pszFname); int lp_numservices(void); void lp_dump(FILE *f, bool show_defaults, int maxtoprint); void lp_dump_one(FILE * f, bool show_defaults, int snum); |