summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/serverinfo.c
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/serverinfo.c
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/serverinfo.c')
-rw-r--r--source3/lib/netapi/serverinfo.c18
1 files changed, 9 insertions, 9 deletions
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,