summaryrefslogtreecommitdiff
path: root/source3/utils/net_ads.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-11-26 04:53:08 +0000
committerTim Potter <tpot@samba.org>2001-11-26 04:53:08 +0000
commit222311817f2e3c1e415ca3a489ff13acb0bbccf3 (patch)
tree937d8ff7f1e832a2850d9fb6dd292e9e461736bf /source3/utils/net_ads.c
parent0b2763260e915620a6d9b1709d112b13a8566d74 (diff)
downloadsamba-222311817f2e3c1e415ca3a489ff13acb0bbccf3.tar.gz
samba-222311817f2e3c1e415ca3a489ff13acb0bbccf3.tar.bz2
samba-222311817f2e3c1e415ca3a489ff13acb0bbccf3.zip
More compiler warnings fixed. Some minor reformatting.
(This used to be commit 8227f6909cca67fcc1a8455f4b386df7778ef2e7)
Diffstat (limited to 'source3/utils/net_ads.c')
-rw-r--r--source3/utils/net_ads.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 72f70532b7..345fc5c3db 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -23,7 +23,7 @@
#ifdef HAVE_ADS
-int net_ads_usage(void)
+int net_ads_usage(int argc, const char **argv)
{
d_printf(
"\nnet ads join"\
@@ -208,7 +208,7 @@ int net_ads(int argc, const char **argv)
#else
-int net_ads_usage(void)
+int net_ads_usage(int argc, const char **argv)
{
d_printf("ADS support not compiled in\n");
return -1;
@@ -216,7 +216,7 @@ int net_ads_usage(void)
int net_ads(int argc, const char **argv)
{
- return net_ads_usage();
+ return net_ads_usage(argc, argv);
}
#endif