net: Rename functable3 to functable, get rid of old functables
[idra/samba.git] / source3 / utils / net_idmap.c
index 9fab29c9a5522041c740ce9d102542f710457c7c..bd363922f659e90c62f8909d54fa410148125ece 100644 (file)
@@ -383,7 +383,7 @@ fail:
  **********************************************************/
 int net_idmap(struct net_context *c, int argc, const char **argv)
 {
-       struct functable3 func[] = {
+       struct functable func[] = {
                {
                        "dump",
                        net_idmap_dump,
@@ -435,7 +435,7 @@ int net_idmap(struct net_context *c, int argc, const char **argv)
                {NULL, NULL, 0, NULL, NULL}
        };
 
-       return net_run_function3(c, argc, argv, "net idmap", func);
+       return net_run_function(c, argc, argv, "net idmap", func);
 }