diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-26 21:58:31 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-12-26 21:58:31 +0000 |
commit | e19deb0e8f43aeae10e01168f0efbfea56feedce (patch) | |
tree | a3f46ec158980c7daadfbf6782c08de0d42d7ad8 /source/lib/registry | |
parent | fa5c73778db5eb5611fdf6ce363fda3515b45b27 (diff) | |
download | samba-e19deb0e8f43aeae10e01168f0efbfea56feedce.tar.gz samba-e19deb0e8f43aeae10e01168f0efbfea56feedce.tar.xz samba-e19deb0e8f43aeae10e01168f0efbfea56feedce.zip |
r12500: Use init functions explicitly in a few more places. 'gensec' and 'librpc'
are the only two subsystems left to convert.
Diffstat (limited to 'source/lib/registry')
-rw-r--r-- | source/lib/registry/config.mk | 1 | ||||
-rw-r--r-- | source/lib/registry/tools/regdiff.c | 2 | ||||
-rw-r--r-- | source/lib/registry/tools/regpatch.c | 2 | ||||
-rw-r--r-- | source/lib/registry/tools/regshell.c | 2 | ||||
-rw-r--r-- | source/lib/registry/tools/regtree.c | 2 |
5 files changed, 8 insertions, 1 deletions
diff --git a/source/lib/registry/config.mk b/source/lib/registry/config.mk index f3e7abec3a4..9d949a5c1dd 100644 --- a/source/lib/registry/config.mk +++ b/source/lib/registry/config.mk @@ -81,7 +81,6 @@ REQUIRED_SUBSYSTEMS = \ [LIBRARY::REGISTRY] MAJOR_VERSION = 0 MINOR_VERSION = 0 -INIT_FUNCTION = registry_init DESCRIPTION = Windows-style registry library RELEASE_VERSION = 1 OBJ_FILES = \ diff --git a/source/lib/registry/tools/regdiff.c b/source/lib/registry/tools/regdiff.c index 7c6a5d75aea..3720298df8e 100644 --- a/source/lib/registry/tools/regdiff.c +++ b/source/lib/registry/tools/regdiff.c @@ -48,6 +48,8 @@ int main(int argc, char **argv) regdiff_init_subsystems; + registry_init(); + pc = poptGetContext(argv[0], argc, (const char **) argv, long_options,0); while((opt = poptGetNextOpt(pc)) != -1) { diff --git a/source/lib/registry/tools/regpatch.c b/source/lib/registry/tools/regpatch.c index 8f86d8a8f00..2cc1507b3e3 100644 --- a/source/lib/registry/tools/regpatch.c +++ b/source/lib/registry/tools/regpatch.c @@ -46,6 +46,8 @@ int main(int argc, char **argv) regpatch_init_subsystems; + registry_init(); + pc = poptGetContext(argv[0], argc, (const char **) argv, long_options,0); while((opt = poptGetNextOpt(pc)) != -1) { diff --git a/source/lib/registry/tools/regshell.c b/source/lib/registry/tools/regshell.c index ef5c598989b..52bda8aa423 100644 --- a/source/lib/registry/tools/regshell.c +++ b/source/lib/registry/tools/regshell.c @@ -419,6 +419,8 @@ static char **reg_completion(const char *text, int start, int end) regshell_init_subsystems; + registry_init(); + pc = poptGetContext(argv[0], argc, (const char **) argv, long_options,0); while((opt = poptGetNextOpt(pc)) != -1) { diff --git a/source/lib/registry/tools/regtree.c b/source/lib/registry/tools/regtree.c index 8856c4d61c5..01e4f92f4a6 100644 --- a/source/lib/registry/tools/regtree.c +++ b/source/lib/registry/tools/regtree.c @@ -101,6 +101,8 @@ int main(int argc, char **argv) regtree_init_subsystems; + registry_init(); + pc = poptGetContext(argv[0], argc, (const char **) argv, long_options,0); while((opt = poptGetNextOpt(pc)) != -1) { |