summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-08 12:00:15 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-08 12:22:21 +0100
commitdefb574c2573a73335a2735e89e4cb5f96c4c069 (patch)
tree26a8ef4ce159c280fb584e5dca01490ad86a0b7a /source3/smbd
parent7a5d07a1c1da70ddfc57d457d0efdd09559349d6 (diff)
downloadsamba-defb574c2573a73335a2735e89e4cb5f96c4c069.tar.gz
samba-defb574c2573a73335a2735e89e4cb5f96c4c069.tar.bz2
samba-defb574c2573a73335a2735e89e4cb5f96c4c069.zip
s3:smbd: variables in a main() don't need to be static
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 6241e96f77..26c9b62dce 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -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;