From 2812998ae99ed96f5b9a7edff471eecf7359edac Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 27 Aug 2004 18:00:55 +0000 Subject: r2092: fix the build(don't catch main() by make proto) metze (This used to be commit ecdb0b442659e80ca91d5ec5b505224c68a97c5a) --- source4/lib/tdb/tools/tdbtest.c | 2 +- source4/lib/tdb/tools/tdbtorture.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/lib/tdb/tools/tdbtest.c b/source4/lib/tdb/tools/tdbtest.c index 9a210f8a61..6c20a5dc77 100644 --- a/source4/lib/tdb/tools/tdbtest.c +++ b/source4/lib/tdb/tools/tdbtest.c @@ -229,7 +229,7 @@ static void merge_test(void) tdb_delete(db, key); } -int main(int argc, char *argv[]) + int main(int argc, const char *argv[]) { int i, seed=0; int loops = 10000; diff --git a/source4/lib/tdb/tools/tdbtorture.c b/source4/lib/tdb/tools/tdbtorture.c index d7c0812800..005a2713af 100644 --- a/source4/lib/tdb/tools/tdbtorture.c +++ b/source4/lib/tdb/tools/tdbtorture.c @@ -185,7 +185,7 @@ static int traverse_fn(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, #define NLOOPS 200000 #endif -int main(int argc, char *argv[]) + int main(int argc, const char *argv[]) { int i, seed=0; int loops = NLOOPS; -- cgit