diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-08-27 18:00:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:24 -0500 |
commit | 2812998ae99ed96f5b9a7edff471eecf7359edac (patch) | |
tree | d91e7a8bacf18ae2eb66ddaab0690c938fb85b82 /source4/lib | |
parent | ef9351d84ba8bf5c4adc9881f3b2c388deac4ffe (diff) | |
download | samba-2812998ae99ed96f5b9a7edff471eecf7359edac.tar.gz samba-2812998ae99ed96f5b9a7edff471eecf7359edac.tar.bz2 samba-2812998ae99ed96f5b9a7edff471eecf7359edac.zip |
r2092: fix the build(don't catch main() by make proto)
metze
(This used to be commit ecdb0b442659e80ca91d5ec5b505224c68a97c5a)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/tdb/tools/tdbtest.c | 2 | ||||
-rw-r--r-- | 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; |