summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-04-04 12:18:49 +0200
committerGitHub <noreply@github.com>2019-04-04 12:18:49 +0200
commit59d11e7cd197e5902b632d0f8ca6e523ed50489a (patch)
treed96b9eae3c039af31c24d8bfda80884efdc39fa4 /lib/zclient.c
parentdbf2f94c2cfd713b54f31becb9582c219463d507 (diff)
parentc17faa4b100673e4169ae585df755d6e08eebfee (diff)
Merge pull request #4075 from qlyoung/reduce-exported-vars
lib: reduce exported var symbols
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index 3e26cd9e6c..92a9d5ef31 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -49,13 +49,13 @@ enum event { ZCLIENT_SCHEDULE, ZCLIENT_READ, ZCLIENT_CONNECT };
/* Prototype for event manager. */
static void zclient_event(enum event, struct zclient *);
+struct zclient_options zclient_options_default = {.receive_notify = false};
+
struct sockaddr_storage zclient_addr;
socklen_t zclient_addr_len;
/* This file local debug flag. */
-int zclient_debug = 0;
-
-struct zclient_options zclient_options_default = {.receive_notify = false};
+static int zclient_debug;
/* Allocate zclient structure. */
struct zclient *zclient_new(struct thread_master *master,