diff options
-rw-r--r-- | source4/param/loadparm.c | 5 | ||||
-rwxr-xr-x | source4/script/mkproto.pl | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 1d12a2b73c..39b02f0ccb 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -2452,6 +2452,11 @@ bool loadparm_init(struct loadparm_context *lp_ctx) return true; } +_PUBLIC_ _DEPRECATED_ bool lp_load_default(void) +{ + return lp_load(dyn_CONFIGFILE); +} + /*************************************************************************** Load the services array from the services file. Return True on success, False on failure. diff --git a/source4/script/mkproto.pl b/source4/script/mkproto.pl index 5e434d843a..6d76b9bc4f 100755 --- a/source4/script/mkproto.pl +++ b/source4/script/mkproto.pl @@ -198,7 +198,7 @@ sub process_file($$$) } next unless ( $is_public || $line =~ / - (_DEPRECATED_ |_NORETURN_ |_WARN_UNUSED_RESULT_ |_PURE_ )*^( + ^(_DEPRECATED_ |_NORETURN_ |_WARN_UNUSED_RESULT_ |_PURE_ )*( void|BOOL|bool|int|struct|char|const|\w+_[tT]\s|uint|unsigned|long|NTSTATUS| ADS_STATUS|enum\s.*\(|DATA_BLOB|WERROR|XFILE|FILE|DIR| double|TDB_CONTEXT|TDB_DATA|TALLOC_CTX|NTTIME|FN_|init_module| |