summaryrefslogtreecommitdiff
path: root/nsswitch/wb_common.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-23 18:06:53 +0100
committerVolker Lendecke <vl@samba.org>2010-01-23 19:14:50 +0100
commitc821be415b6798d0eaf182e18234513c36d42336 (patch)
tree4c209b6803d551aac9b6b1b241b961217b6fec68 /nsswitch/wb_common.c
parentdff03b61fd5d923562711b38cc7dbe996dc07283 (diff)
downloadsamba-c821be415b6798d0eaf182e18234513c36d42336.tar.gz
samba-c821be415b6798d0eaf182e18234513c36d42336.tar.bz2
samba-c821be415b6798d0eaf182e18234513c36d42336.zip
nsswitch: Make some functions static
Diffstat (limited to 'nsswitch/wb_common.c')
-rw-r--r--nsswitch/wb_common.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/nsswitch/wb_common.c b/nsswitch/wb_common.c
index d0dfcb8bbf..f989d194e1 100644
--- a/nsswitch/wb_common.c
+++ b/nsswitch/wb_common.c
@@ -41,7 +41,8 @@ void winbindd_free_response(struct winbindd_response *response)
/* Initialise a request structure */
-void winbindd_init_request(struct winbindd_request *request, int request_type)
+static void winbindd_init_request(struct winbindd_request *request,
+ int request_type)
{
request->length = sizeof(struct winbindd_request);
@@ -61,7 +62,7 @@ static void init_response(struct winbindd_response *response)
/* Close established socket */
-void winbind_close_sock(void)
+static void winbind_close_sock(void)
{
if (winbindd_fd != -1) {
close(winbindd_fd);
@@ -363,7 +364,8 @@ static int winbind_open_pipe_sock(int recursing, int need_priv)
/* Write data to winbindd socket */
-int winbind_write_sock(void *buffer, int count, int recursing, int need_priv)
+static int winbind_write_sock(void *buffer, int count, int recursing,
+ int need_priv)
{
int result, nwritten;
@@ -430,7 +432,7 @@ int winbind_write_sock(void *buffer, int count, int recursing, int need_priv)
/* Read data from winbindd socket */
-int winbind_read_sock(void *buffer, int count)
+static int winbind_read_sock(void *buffer, int count)
{
int nread = 0;
int total_time = 0, selret;
@@ -496,7 +498,7 @@ int winbind_read_sock(void *buffer, int count)
/* Read reply */
-int winbindd_read_reply(struct winbindd_response *response)
+static int winbindd_read_reply(struct winbindd_response *response)
{
int result1, result2 = 0;