summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-10-01 10:19:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:50 -0500
commit79e167543f098ecd0638e4d5e3896e38677dcf15 (patch)
treeaed2dbe466a9126f5d0aa0e46f0de13df52934e2
parentf3d7084bad17fe1d4745493cbf99faaaf5532ab4 (diff)
downloadsamba-79e167543f098ecd0638e4d5e3896e38677dcf15.tar.gz
samba-79e167543f098ecd0638e4d5e3896e38677dcf15.tar.bz2
samba-79e167543f098ecd0638e4d5e3896e38677dcf15.zip
r10674: We no do define timeval_current
(This used to be commit c80e5ce1103a4c8f17120ecf715d962cfa532f22)
-rw-r--r--source3/lib/talloctort.c7
1 files changed, 0 insertions, 7 deletions
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();