Author: vlendec Date: 2005-10-01 10:19:36 +0000 (Sat, 01 Oct 2005) New Revision: 10674
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10674 Log: We no do define timeval_current Modified: branches/SAMBA_3_0/source/lib/talloctort.c trunk/source/lib/talloctort.c Changeset: Modified: branches/SAMBA_3_0/source/lib/talloctort.c =================================================================== --- branches/SAMBA_3_0/source/lib/talloctort.c 2005-10-01 10:01:07 UTC (rev 10673) +++ branches/SAMBA_3_0/source/lib/talloctort.c 2005-10-01 10:19:36 UTC (rev 10674) @@ -40,13 +40,6 @@ /* Samba3 does not define the timeval functions below */ #if !defined(_SAMBA_BUILD_) || ((SAMBA_VERSION_MAJOR==3)&&(SAMBA_VERSION_MINOR<9)) -static struct timeval timeval_current(void) -{ - struct timeval tv; - gettimeofday(&tv, NULL); - return tv; -} - static double timeval_elapsed(struct timeval *tv) { struct timeval tv2 = timeval_current(); Modified: trunk/source/lib/talloctort.c =================================================================== --- trunk/source/lib/talloctort.c 2005-10-01 10:01:07 UTC (rev 10673) +++ trunk/source/lib/talloctort.c 2005-10-01 10:19:36 UTC (rev 10674) @@ -40,13 +40,6 @@ /* Samba3 does not define the timeval functions below */ #if !defined(_SAMBA_BUILD_) || ((SAMBA_VERSION_MAJOR==3)&&(SAMBA_VERSION_MINOR<9)) -static struct timeval timeval_current(void) -{ - struct timeval tv; - gettimeofday(&tv, NULL); - return tv; -} - static double timeval_elapsed(struct timeval *tv) { struct timeval tv2 = timeval_current();
