diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zclient.c | 4 | ||||
-rw-r--r-- | lib/zclient.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index 93614360..41ecbb61 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -148,7 +148,7 @@ zclient_reset (struct zclient *zclient) #ifdef HAVE_TCP_ZEBRA /* Make socket to zebra daemon. Return zebra socket. */ -int +static int zclient_socket(void) { int sock; @@ -184,7 +184,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 c7d4d227..d0c5450b 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -132,8 +132,6 @@ extern void zclient_stop (struct zclient *); extern void zclient_reset (struct zclient *); extern void zclient_free (struct zclient *); -extern int zclient_socket(void); -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); |