summaryrefslogtreecommitdiff
path: root/source3/lib/util_sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util_sock.c')
-rw-r--r--source3/lib/util_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 328ca92727..12c748e5f2 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -954,7 +954,7 @@ char *get_peer_addr(int fd)
return addr_buf;
}
-char *get_socket_addr(int fd)
+static char *get_socket_addr(int fd)
{
struct sockaddr sa;
struct sockaddr_in *sockin = (struct sockaddr_in *) (&sa);