summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-02-08 12:02:28 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-02-08 12:02:28 +0000
commitbbfd3a90ca9f34bf777fde0e9aeb434c058d205a (patch)
tree23f6a1d7d056c5b6f86197c983d0664904dc1b18 /source3/lib
parente0c480f77f35e096e241217ad677b21eaceec4bd (diff)
downloadsamba-bbfd3a90ca9f34bf777fde0e9aeb434c058d205a.tar.gz
samba-bbfd3a90ca9f34bf777fde0e9aeb434c058d205a.tar.bz2
samba-bbfd3a90ca9f34bf777fde0e9aeb434c058d205a.zip
(merge from 3.0)
More 'static' work. Andrew Bartlett (This used to be commit 620f909eed3d994d01ca53068a33856d25917144)
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 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);