diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-19 23:27:42 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:52:05 +0100 |
commit | 3e75f222bcdf114238cc4f2bcc61332dc059135f (patch) | |
tree | 9b1d7c25483c2819eb34e185459537b6a065e772 /source4/utils | |
parent | c2fffa8335ac68ff70de52f9fc80fb49e5d6d686 (diff) | |
download | samba-3e75f222bcdf114238cc4f2bcc61332dc059135f.tar.gz samba-3e75f222bcdf114238cc4f2bcc61332dc059135f.tar.xz samba-3e75f222bcdf114238cc4f2bcc61332dc059135f.zip |
r26539: Remove unnecessary statics.
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
Diffstat (limited to 'source4/utils')
-rw-r--r-- | source4/utils/ntlm_auth.c | 2 | ||||
-rw-r--r-- | source4/utils/testparm.c | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/source4/utils/ntlm_auth.c b/source4/utils/ntlm_auth.c index 3144fe91b1..b85ddec7d0 100644 --- a/source4/utils/ntlm_auth.c +++ b/source4/utils/ntlm_auth.c @@ -1048,7 +1048,7 @@ enum { int main(int argc, const char **argv) { - static const char *helper_protocol; + const char *helper_protocol; int opt; poptContext pc; diff --git a/source4/utils/testparm.c b/source4/utils/testparm.c index a4ff522186..718daae908 100644 --- a/source4/utils/testparm.c +++ b/source4/utils/testparm.c @@ -172,18 +172,18 @@ static int do_share_checks(struct loadparm_context *lp_ctx, const char *cname, c int main(int argc, const char *argv[]) { - static bool silent_mode = false; + bool silent_mode = false; int ret = 0; poptContext pc; /* - static int show_all_parameters = 0; - static char *new_local_machine = NULL; + int show_all_parameters = 0; + char *new_local_machine = NULL; */ - static const char *section_name = NULL; - static char *parameter_name = NULL; - static const char *cname; - static const char *caddr; - static bool show_defaults = false; + const char *section_name = NULL; + char *parameter_name = NULL; + const char *cname = NULL; + const char *caddr = NULL; + bool show_defaults = false; struct loadparm_context *lp_ctx; struct poptOption long_options[] = { |