diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-01 11:03:38 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-01 11:31:32 +0100 |
commit | c8bcf821191ab88a82954fd485087522d3c2ef05 (patch) | |
tree | 164aab824c01d73e3369cf2c45ad7f3f5f92f643 /source4/lib | |
parent | e59a8a563b684c04ca4d7dbdb13d5a9008ed2c3f (diff) | |
download | samba-c8bcf821191ab88a82954fd485087522d3c2ef05.tar.gz samba-c8bcf821191ab88a82954fd485087522d3c2ef05.tar.bz2 samba-c8bcf821191ab88a82954fd485087522d3c2ef05.zip |
ldb:tools/ldbtest.c - fix build warning
Cause was an incomplete declaration.
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/tools/cmdline.h | 3 | ||||
-rw-r--r-- | source4/lib/ldb/tools/ldbtest.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/tools/cmdline.h b/source4/lib/ldb/tools/cmdline.h index 0bc57611cd..416bf51d22 100644 --- a/source4/lib/ldb/tools/cmdline.h +++ b/source4/lib/ldb/tools/cmdline.h @@ -46,7 +46,8 @@ struct ldb_cmdline { int tracing; }; -struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const char **argv, +struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, + const char **argv, void (*usage)(struct ldb_context *)); diff --git a/source4/lib/ldb/tools/ldbtest.c b/source4/lib/ldb/tools/ldbtest.c index c8d35732f8..3159bcc2c2 100644 --- a/source4/lib/ldb/tools/ldbtest.c +++ b/source4/lib/ldb/tools/ldbtest.c @@ -385,7 +385,7 @@ static void start_test_index(struct ldb_context **ldb) } -static void usage(void) +static void usage(struct ldb_context *ldb) { printf("Usage: ldbtest <options>\n"); printf("Options:\n"); |