git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3d7084
)
r10674: We no do define timeval_current
author
Volker Lendecke
<vlendec@samba.org>
Sat, 1 Oct 2005 10:19:36 +0000
(10:19 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:04:50 +0000
(11:04 -0500)
(This used to be commit
c80e5ce1103a4c8f17120ecf715d962cfa532f22
)
source3/lib/talloctort.c
patch
|
blob
|
history
diff --git
a/source3/lib/talloctort.c
b/source3/lib/talloctort.c
index 0447749abdeca0c6cd9b3e2e77c8689df29c719a..6504203a7ad5216de5092f438f99f4100f025adf 100644
(file)
--- 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();