summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-12-20 12:12:06 +0100
committerGünther Deschner <gd@samba.org>2007-12-21 15:29:11 +0100
commitf2fe17245436f8e68be2d5ad96b77721828f040a (patch)
treeb0f93d61da2f8b6f62461690a1960b0d0e805136 /source3/lib/netapi
parent5479c50c37ee78037a96df8844fd06b1b0c9ccbb (diff)
downloadsamba-f2fe17245436f8e68be2d5ad96b77721828f040a.tar.gz
samba-f2fe17245436f8e68be2d5ad96b77721828f040a.tar.bz2
samba-f2fe17245436f8e68be2d5ad96b77721828f040a.zip
Keep libnetapi_NetX calls static for now.
Guenther (This used to be commit c255654c68923aca3e258906e49be82d719d5ccd)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/joindomain.c8
-rw-r--r--source3/lib/netapi/serverinfo.c18
2 files changed, 13 insertions, 13 deletions
diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c
index 0c8d645db9..0c3e021520 100644
--- a/source3/lib/netapi/joindomain.c
+++ b/source3/lib/netapi/joindomain.c
@@ -461,10 +461,10 @@ static WERROR NetGetJoinInformationLocal(struct libnetapi_ctx *ctx,
return WERR_OK;
}
-WERROR libnetapi_NetGetJoinInformation(struct libnetapi_ctx *ctx,
- const char *server_name,
- const char **name_buffer,
- uint16_t *name_type)
+static WERROR libnetapi_NetGetJoinInformation(struct libnetapi_ctx *ctx,
+ const char *server_name,
+ const char **name_buffer,
+ uint16_t *name_type)
{
if (!server_name || is_myname_or_ipaddr(server_name)) {
return NetGetJoinInformationLocal(ctx,
diff --git a/source3/lib/netapi/serverinfo.c b/source3/lib/netapi/serverinfo.c
index d1bfa47649..276a98c15e 100644
--- a/source3/lib/netapi/serverinfo.c
+++ b/source3/lib/netapi/serverinfo.c
@@ -102,10 +102,10 @@ static WERROR NetServerGetInfoRemote(struct libnetapi_ctx *ctx,
return werr;
}
-WERROR libnetapi_NetServerGetInfo(struct libnetapi_ctx *ctx,
- const char *server_name,
- uint32_t level,
- uint8_t **buffer)
+static WERROR libnetapi_NetServerGetInfo(struct libnetapi_ctx *ctx,
+ const char *server_name,
+ uint32_t level,
+ uint8_t **buffer)
{
if (!server_name || is_myname_or_ipaddr(server_name)) {
return NetServerGetInfoLocal(ctx,
@@ -248,11 +248,11 @@ static WERROR NetServerSetInfoRemote(struct libnetapi_ctx *ctx,
return werr;
}
-WERROR libnetapi_NetServerSetInfo(struct libnetapi_ctx *ctx,
- const char *server_name,
- uint32_t level,
- uint8_t *buffer,
- uint32_t *parm_error)
+static WERROR libnetapi_NetServerSetInfo(struct libnetapi_ctx *ctx,
+ const char *server_name,
+ uint32_t level,
+ uint8_t *buffer,
+ uint32_t *parm_error)
{
if (!server_name || is_myname_or_ipaddr(server_name)) {
return NetServerSetInfoLocal(ctx,