summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-12-08 00:43:34 +0100
committerMichael Adam <obnox@samba.org>2011-01-02 13:41:07 +0100
commit45cb9bba37407ab4e76b0955e6a379efc6d562a4 (patch)
tree839f49d72fa505760b3ff56d3b9de4738862ca6a /source3/utils
parent7f256a740cc43dbaed545cf0d2533cc31a25806b (diff)
downloadsamba-45cb9bba37407ab4e76b0955e6a379efc6d562a4.tar.gz
samba-45cb9bba37407ab4e76b0955e6a379efc6d562a4.tar.bz2
samba-45cb9bba37407ab4e76b0955e6a379efc6d562a4.zip
s3:net: make idmap_store_secret static.
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Jan 2 13:41:07 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_idmap.c7
-rw-r--r--source3/utils/net_proto.h3
2 files changed, 4 insertions, 6 deletions
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c
index 949a49d19f..e3640bdcd8 100644
--- a/source3/utils/net_idmap.c
+++ b/source3/utils/net_idmap.c
@@ -289,9 +289,10 @@ static int net_idmap_set(struct net_context *c, int argc, const char **argv)
d_printf("%s\n", _("Not implemented yet"));
return -1;
}
-bool idmap_store_secret(const char *backend,
- const char *domain, const char *identity,
- const char *secret)
+static bool idmap_store_secret(const char *backend,
+ const char *domain,
+ const char *identity,
+ const char *secret)
{
char *tmp;
int r;
diff --git a/source3/utils/net_proto.h b/source3/utils/net_proto.h
index 99e0cbd7a4..2475c9f35d 100644
--- a/source3/utils/net_proto.h
+++ b/source3/utils/net_proto.h
@@ -86,9 +86,6 @@ int net_help(struct net_context *c, int argc, const char **argv);
/* The following definitions come from utils/net_idmap.c */
-bool idmap_store_secret(const char *backend,
- const char *domain, const char *identity,
- const char *secret);
int net_help_idmap(struct net_context *c, int argc, const char **argv);
int net_idmap(struct net_context *c, int argc, const char **argv);