diff options
Diffstat (limited to 'nscd/nscd_gethst_r.c')
-rw-r--r-- | nscd/nscd_gethst_r.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nscd/nscd_gethst_r.c b/nscd/nscd_gethst_r.c index bd0be682d8..9488c53d0f 100644 --- a/nscd/nscd_gethst_r.c +++ b/nscd/nscd_gethst_r.c @@ -86,8 +86,8 @@ __nscd_gethostbyaddr_r (const void *addr, socklen_t len, int type, /* Create a socket connected to a name. */ -static int -open_socket (void) +int +__nscd_open_socket (void) { struct sockaddr_un addr; int sock; @@ -119,7 +119,7 @@ nscd_gethst_r (const char *key, size_t keylen, request_type type, struct hostent *resultbuf, char *buffer, size_t buflen, int *h_errnop) { - int sock = open_socket (); + int sock = __nscd_open_socket (); hst_response_header hst_resp; request_header req; ssize_t nbytes; |