1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3:smbd: variables in a main() don't need to be static

metze
This commit is contained in:
Stefan Metzmacher 2009-01-08 12:00:15 +01:00
parent 7a5d07a1c1
commit defb574c25

View File

@ -1103,13 +1103,13 @@ extern void build_options(bool screen);
int main(int argc,const char *argv[])
{
/* shall I run as a daemon */
static bool is_daemon = False;
static bool interactive = False;
static bool Fork = True;
static bool no_process_group = False;
static bool log_stdout = False;
static char *ports = NULL;
static char *profile_level = NULL;
bool is_daemon = false;
bool interactive = false;
bool Fork = true;
bool no_process_group = false;
bool log_stdout = false;
char *ports = NULL;
char *profile_level = NULL;
int opt;
poptContext pc;
bool print_build_options = False;