1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

Make variables static to satisfy exotic compilers

This commit is contained in:
Jelmer Vernooij -
parent ec6b9e62fb
commit 094eed2c62
2 changed files with 2 additions and 3 deletions

View File

@ -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[] = {

View File

@ -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;