svn commit: samba r17781 - in branches/SAMBA_4_0/source/lib/tdb/tools: .

metze at samba.org metze at samba.org
Thu Aug 24 09:47:51 GMT 2006


Author: metze
Date: 2006-08-24 09:47:51 +0000 (Thu, 24 Aug 2006)
New Revision: 17781

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17781

Log:
fix compiler warning

metze
Modified:
   branches/SAMBA_4_0/source/lib/tdb/tools/tdbtorture.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/tdb/tools/tdbtorture.c
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/tools/tdbtorture.c	2006-08-24 09:47:08 UTC (rev 17780)
+++ branches/SAMBA_4_0/source/lib/tdb/tools/tdbtorture.c	2006-08-24 09:47:51 UTC (rev 17781)
@@ -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;



More information about the samba-cvs mailing list