From f97934e3f517ecf0e894763c4e1156d3ebd77686 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 25 Mar 2003 13:40:34 +0000 Subject: Make variables static to satisfy exotic compilers (This used to be commit 094eed2c6222fe167ee9f596f4b849a4dea234bf) --- source3/utils/nmblookup.c | 4 ++-- source3/utils/testparm.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c index 85f092c8b0..31c7967a07 100644 --- a/source3/utils/nmblookup.c +++ b/source3/utils/nmblookup.c @@ -187,8 +187,8 @@ int main(int argc,char *argv[]) int opt; unsigned int lookup_type = 0x0; fstring lookup; - BOOL find_master=False; - BOOL lookup_by_ip = False; + static BOOL find_master=False; + static BOOL lookup_by_ip = False; poptContext pc; struct poptOption long_options[] = { diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index 4c8a2ccf63..e8dd3c15b2 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -192,7 +192,6 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_ int s; static BOOL silent_mode = False; int ret = 0; - int opt; poptContext pc; static const char *term_code = ""; static char *new_local_machine = NULL; -- cgit