git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e996cd5
)
r17781: fix compiler warning
author
Stefan Metzmacher
<metze@samba.org>
Thu, 24 Aug 2006 09:47:51 +0000
(09:47 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:16:41 +0000
(14:16 -0500)
metze
(This used to be commit
bbe641f23676961972ac337304ece1116b0219b6
)
source4/lib/tdb/tools/tdbtorture.c
patch
|
blob
|
history
diff --git
a/source4/lib/tdb/tools/tdbtorture.c
b/source4/lib/tdb/tools/tdbtorture.c
index d88211c4a72e67a757e724f1139a6a79de9c70ce..9b0a60348c8d41bfbee7626b1bd174f966be6d10 100644
(file)
--- 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;