svn commit: samba r3092 - in branches/SAMBA_4_0/source/lib/ldb/tools: .

metze at samba.org metze at samba.org
Wed Oct 20 19:21:16 GMT 2004


Author: metze
Date: 2004-10-20 19:21:10 +0000 (Wed, 20 Oct 2004)
New Revision: 3092

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/lib/ldb/tools&rev=3092&nolog=1

Log:
prepare for build inside samba

metze

Modified:
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c	2004-10-20 19:19:03 UTC (rev 3091)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c	2004-10-20 19:21:10 UTC (rev 3092)
@@ -39,12 +39,12 @@
 
 static struct timeval tp1,tp2;
 
-static void start_timer(void)
+static void _start_timer(void)
 {
 	gettimeofday(&tp1,NULL);
 }
 
-static double end_timer(void)
+static double _end_timer(void)
 {
 	gettimeofday(&tp2,NULL);
 	return((tp2.tv_sec - tp1.tv_sec) + 
@@ -259,9 +259,9 @@
 	add_records(ldb, base_dn, nrecords);
 
 	printf("Starting search on uid\n");
-	start_timer();
+	_start_timer();
 	search_uid(ldb, nrecords, nsearches);
-	printf("uid search took %.2f seconds\n", end_timer());
+	printf("uid search took %.2f seconds\n", _end_timer());
 
 	printf("Modifying records\n");
 	modify_records(ldb, base_dn, nrecords);



More information about the samba-cvs mailing list