summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/zclient.c2
-rw-r--r--lib/zclient.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index f7a4acb12a..4fe5398e65 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -214,7 +214,7 @@ zclient_socket(void)
/* For sockaddr_un. */
#include <sys/un.h>
-int
+static int
zclient_socket_un (const char *path)
{
int ret;
diff --git a/lib/zclient.h b/lib/zclient.h
index 5a3c5bea25..6bb1725963 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -165,7 +165,6 @@ extern void zclient_stop (struct zclient *);
extern void zclient_reset (struct zclient *);
extern void zclient_free (struct zclient *);
-extern int zclient_socket_un (const char *path);
extern int zclient_socket_connect (struct zclient *);
extern void zclient_serv_path_set (char *path);
extern const char *const zclient_serv_path_get (void);