diff options
author | Kai Blin <kai@samba.org> | 2008-06-07 02:25:08 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2008-06-10 09:48:21 +0200 |
commit | 255bdb26025a5025bc60637dd924f6ec71c49ee5 (patch) | |
tree | 4e2301ae2fb17a37c45b2f9d87c685ea764c74de /source3/utils/net_help.c | |
parent | cd06703a3f382bd114ae7634cdd7c630947cf785 (diff) | |
download | samba-255bdb26025a5025bc60637dd924f6ec71c49ee5.tar.gz samba-255bdb26025a5025bc60637dd924f6ec71c49ee5.tar.xz samba-255bdb26025a5025bc60637dd924f6ec71c49ee5.zip |
net: Rename functable3 to functable, get rid of old functables
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
Diffstat (limited to 'source3/utils/net_help.c')
-rw-r--r-- | source3/utils/net_help.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c index 035914431e6..0502373aa2f 100644 --- a/source3/utils/net_help.c +++ b/source3/utils/net_help.c @@ -30,7 +30,7 @@ static int net_help_usage(struct net_context *c, int argc, const char **argv) static int net_usage(struct net_context *c, int argc, const char **argv) { - struct functable3 *table = (struct functable3*) c->private_data; + struct functable *table = (struct functable*) c->private_data; int i; d_printf("Usage:\n"); @@ -54,7 +54,7 @@ static int net_usage(struct net_context *c, int argc, const char **argv) */ int net_help(struct net_context *c, int argc, const char **argv) { - struct functable3 *func = (struct functable3 *)c->private_data; + struct functable *func = (struct functable *)c->private_data; if (argc == 0) { return net_usage(c, argc, argv); @@ -65,5 +65,5 @@ int net_help(struct net_context *c, int argc, const char **argv) } c->display_usage = true; - return net_run_function3(c, argc, argv, "net help", func); + return net_run_function(c, argc, argv, "net help", func); } |