From 39b2377f902f771dca8329b8b9ed1743ae0247a7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 24 Aug 2006 09:47:51 +0000 Subject: r17781: fix compiler warning metze (This used to be commit bbe641f23676961972ac337304ece1116b0219b6) --- source4/lib/tdb/tools/tdbtorture.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source4/lib/tdb/tools') diff --git a/source4/lib/tdb/tools/tdbtorture.c b/source4/lib/tdb/tools/tdbtorture.c index d88211c4a7..9b0a60348c 100644 --- a/source4/lib/tdb/tools/tdbtorture.c +++ b/source4/lib/tdb/tools/tdbtorture.c @@ -2,9 +2,8 @@ writers - that stresses the locking code. */ -#define _GNU_SOURCE - #ifndef _SAMBA_BUILD_ +#define _GNU_SOURCE #include #include #include @@ -46,7 +45,6 @@ #define CULL_PROB 100 #define KEYLEN 3 #define DATALEN 100 -#define LOCKLEN 20 static struct tdb_context *db; static int in_transaction; -- cgit