From c80e5ce1103a4c8f17120ecf715d962cfa532f22 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 1 Oct 2005 10:19:36 +0000 Subject: [PATCH] r10674: We no do define timeval_current --- source/lib/talloctort.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source/lib/talloctort.c b/source/lib/talloctort.c index 0447749abde..6504203a7ad 100644 --- a/source/lib/talloctort.c +++ b/source/lib/talloctort.c @@ -40,13 +40,6 @@ typedef enum {False=0,True=1} BOOL; /* 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(); -- 2.11.4.GIT