summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-11 10:15:08 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-12 10:48:15 +0200
commitae821929a0ec048da69084b71c53270eecdb3e6e (patch)
tree4bd28e3669f0af024777c93e2abd77ef08ee506b
parent25216d753742c68fc921b84208c0a92b958c15c9 (diff)
downloadsamba-ae821929a0ec048da69084b71c53270eecdb3e6e.tar.gz
samba-ae821929a0ec048da69084b71c53270eecdb3e6e.tar.bz2
samba-ae821929a0ec048da69084b71c53270eecdb3e6e.zip
s3-libsmbclient: Make SMBC_call_auth_fn static
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/include/libsmb_internal.h9
-rw-r--r--source3/libsmb/libsmb_server.c2
2 files changed, 1 insertions, 10 deletions
diff --git a/source3/include/libsmb_internal.h b/source3/include/libsmb_internal.h
index 0c8d8ab270..92694f35c8 100644
--- a/source3/include/libsmb_internal.h
+++ b/source3/include/libsmb_internal.h
@@ -450,15 +450,6 @@ SMBC_remove_unused_server(SMBCCTX * context,
SMBCSRV * srv);
void
-SMBC_call_auth_fn(TALLOC_CTX *ctx,
- SMBCCTX *context,
- const char *server,
- const char *share,
- char **pp_workgroup,
- char **pp_username,
- char **pp_password);
-
-void
SMBC_get_auth_data(const char *server, const char *share,
char *workgroup_buf, int workgroup_buf_len,
char *username_buf, int username_buf_len,
diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c
index c7ec142ffc..7ec3eb5210 100644
--- a/source3/libsmb/libsmb_server.c
+++ b/source3/libsmb/libsmb_server.c
@@ -96,7 +96,7 @@ SMBC_remove_unused_server(SMBCCTX * context,
/****************************************************************
* Call the auth_fn with fixed size (fstring) buffers.
***************************************************************/
-void
+static void
SMBC_call_auth_fn(TALLOC_CTX *ctx,
SMBCCTX *context,
const char *server,