summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-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 5eb9c18b60..594bc121b1 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -958,7 +958,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);