summaryrefslogtreecommitdiff
path: root/source4/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source4/utils')
-rw-r--r--source4/utils/ntlm_auth.c2
-rw-r--r--source4/utils/testparm.c16
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[] = {