summaryrefslogtreecommitdiff
path: root/source4/lib/util
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-09-04 02:08:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:40 -0500
commitbb84655d65bf22305cfab26a6b14b148cb060722 (patch)
tree63bd42820bea6cba8959d7673935f18515d690ee /source4/lib/util
parent166284d9c1f32f249966064256e97b1847ef48d3 (diff)
downloadsamba-bb84655d65bf22305cfab26a6b14b148cb060722.tar.gz
samba-bb84655d65bf22305cfab26a6b14b148cb060722.tar.bz2
samba-bb84655d65bf22305cfab26a6b14b148cb060722.zip
r24941: Simplify samdb_result_nttime(), and remove nttime_from_string()
Andrew Bartlett (This used to be commit bcd994a139e2e8fb2e97c8b897c987ff234e0b0a)
Diffstat (limited to 'source4/lib/util')
-rw-r--r--source4/lib/util/time.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/lib/util/time.c b/source4/lib/util/time.c
index c800fffea0..4601833a3d 100644
--- a/source4/lib/util/time.c
+++ b/source4/lib/util/time.c
@@ -374,14 +374,6 @@ _PUBLIC_ NTTIME pull_nttime(uint8_t *base, uint16_t offset)
}
/**
- parse a nttime as a large integer in a string and return a NTTIME
-*/
-_PUBLIC_ NTTIME nttime_from_string(const char *s)
-{
- return strtoull(s, NULL, 0);
-}
-
-/**
return (tv1 - tv2) in microseconds
*/
_PUBLIC_ int64_t usec_time_diff(struct timeval *tv1, struct timeval *tv2)