summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-02-08 11:00:25 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-02-08 11:00:25 +0000
commit8a547323d26a0350eb0a2bfc4d9ebeaade7baacc (patch)
tree9ab060306c6b4ffe38f2195d5610c121d7733ce6
parent784c631a3a3fcaef22873b5ab2389cd15b13d0a1 (diff)
downloadsamba-8a547323d26a0350eb0a2bfc4d9ebeaade7baacc.tar.gz
samba-8a547323d26a0350eb0a2bfc4d9ebeaade7baacc.tar.bz2
samba-8a547323d26a0350eb0a2bfc4d9ebeaade7baacc.zip
More 'static' work.
Andrew Bartlett (This used to be commit 25a09004e8a51eb3192adbb580239427bfee0ec9)
-rw-r--r--source3/lib/util_sock.c2
-rw-r--r--source3/smbd/server.c2
2 files changed, 2 insertions, 2 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);
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 26e4021443..e2ffe8cc9f 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -22,7 +22,7 @@
#include "includes.h"
-int am_parent = 1;
+static int am_parent = 1;
/* the last message the was processed */
int last_message = -1;