diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-20 12:33:02 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-20 12:33:02 +0000 |
commit | fe5f448015b9b1c632d8725a4dc0fe6d1ab04736 (patch) | |
tree | 9097912e45f77af0e5683bce4c4032d185e15296 /tests/server/sockfilt.c | |
parent | 7beb473a3dffbd5757b14a99866033ae1391dbd9 (diff) |
fix compiler warning: external definition with no prior declaration
Diffstat (limited to 'tests/server/sockfilt.c')
-rw-r--r-- | tests/server/sockfilt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index f78590f5e..74ae7d364 100644 --- a/tests/server/sockfilt.c +++ b/tests/server/sockfilt.c @@ -121,10 +121,10 @@ const char *serverlogfile = DEFAULT_LOGFILE; -bool verbose = FALSE; -bool use_ipv6 = FALSE; -unsigned short port = DEFAULT_PORT; -unsigned short connectport = 0; /* if non-zero, we activate this mode */ +static bool verbose = FALSE; +static bool use_ipv6 = FALSE; +static unsigned short port = DEFAULT_PORT; +static unsigned short connectport = 0; /* if non-zero, we activate this mode */ enum sockmode { PASSIVE_LISTEN, /* as a server waiting for connections */ |