net: Rename functable3 to functable, get rid of old functables
[idra/samba.git] / source3 / utils / net_registry.c
index 00cca0855a3c69fa862a5a3fdcb0839b8f246b5d..26710b35800a200c1f6f247bf4704c81c4f78b3d 100644 (file)
@@ -453,7 +453,7 @@ int net_registry(struct net_context *c, int argc, const char **argv)
 {
        int ret = -1;
 
-       struct functable3 func[] = {
+       struct functable func[] = {
                {
                        "enumerate",
                        net_registry_enumerate,
@@ -525,7 +525,7 @@ int net_registry(struct net_context *c, int argc, const char **argv)
                return -1;
        }
 
-       ret = net_run_function3(c, argc, argv, "net registry", func);
+       ret = net_run_function(c, argc, argv, "net registry", func);
 
        return ret;
 }