aboutsummaryrefslogtreecommitdiff
path: root/tests/server/sockfilt.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-20 12:33:02 +0000
committerYang Tse <yangsita@gmail.com>2008-09-20 12:33:02 +0000
commitfe5f448015b9b1c632d8725a4dc0fe6d1ab04736 (patch)
tree9097912e45f77af0e5683bce4c4032d185e15296 /tests/server/sockfilt.c
parent7beb473a3dffbd5757b14a99866033ae1391dbd9 (diff)
fix compiler warning: external definition with no prior declaration
Diffstat (limited to 'tests/server/sockfilt.c')
-rw-r--r--tests/server/sockfilt.c8
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 */