From 79e167543f098ecd0638e4d5e3896e38677dcf15 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 1 Oct 2005 10:19:36 +0000 Subject: r10674: We no do define timeval_current (This used to be commit c80e5ce1103a4c8f17120ecf715d962cfa532f22) --- source3/lib/talloctort.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source3/lib/talloctort.c') diff --git a/source3/lib/talloctort.c b/source3/lib/talloctort.c index 0447749abd..6504203a7a 100644 --- a/source3/lib/talloctort.c +++ b/source3/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(); -- cgit