s3:net: make idmap_store_secret static.
authorMichael Adam <obnox@samba.org>
Tue, 7 Dec 2010 23:43:34 +0000 (00:43 +0100)
committerMichael Adam <obnox@samba.org>
Sun, 2 Jan 2011 12:41:07 +0000 (13:41 +0100)
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sun Jan  2 13:41:07 CET 2011 on sn-devel-104

source3/utils/net_idmap.c
source3/utils/net_proto.h

index 949a49d19f16f0c261626f851c6922d2d7e340e1..e3640bdcd88bcaf84d8569a3ad32e93915aee238 100644 (file)
@@ -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;
index 99e0cbd7a4605378243f5aa1972d585ca60cfcd9..2475c9f35dafa22b6022278dd4c8b37d0745e521 100644 (file)
@@ -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);