From 45cb9bba37407ab4e76b0955e6a379efc6d562a4 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 8 Dec 2010 00:43:34 +0100 Subject: s3:net: make idmap_store_secret static. Autobuild-User: Michael Adam Autobuild-Date: Sun Jan 2 13:41:07 CET 2011 on sn-devel-104 --- source3/utils/net_idmap.c | 7 ++++--- source3/utils/net_proto.h | 3 --- 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); -- cgit