diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-24 09:47:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:16:41 -0500 |
commit | 39b2377f902f771dca8329b8b9ed1743ae0247a7 (patch) | |
tree | 1db5062430d822c585e3d5fbdc93cccc6708e02e /source4/lib | |
parent | e996cd557190b22149719bb0e9e77b95029d51b8 (diff) | |
download | samba-39b2377f902f771dca8329b8b9ed1743ae0247a7.tar.gz samba-39b2377f902f771dca8329b8b9ed1743ae0247a7.tar.bz2 samba-39b2377f902f771dca8329b8b9ed1743ae0247a7.zip |
r17781: fix compiler warning
metze
(This used to be commit bbe641f23676961972ac337304ece1116b0219b6)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/tdb/tools/tdbtorture.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 <stdlib.h> #include <time.h> #include <stdio.h> @@ -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; |