summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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);
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;