net: Rename functable3 to functable, get rid of old functables
[tprouty/samba.git] / source3 / utils / net_rpc_rights.c
index c359f97bd0df6f0a055e73d294fe0d4b708eed49..999104359436badf56e0c4c0f1074a7ccb106f80 100644 (file)
@@ -623,7 +623,7 @@ static int rpc_rights_revoke(struct net_context *c, int argc, const char **argv)
 
 int net_rpc_rights(struct net_context *c, int argc, const char **argv)
 {
-       struct functable3 func[] = {
+       struct functable func[] = {
                {
                        "list",
                        rpc_rights_list,
@@ -651,7 +651,7 @@ int net_rpc_rights(struct net_context *c, int argc, const char **argv)
                {NULL, NULL, 0, NULL, NULL}
        };
 
-       return net_run_function3(c, argc, argv, "net rpc rights", func);
+       return net_run_function(c, argc, argv, "net rpc rights", func);
 }
 
 static NTSTATUS rpc_sh_rights_list(struct net_context *c,