lib: remove unused function nttime_from_string()
authorSwen Schillig <swen@linux.ibm.com>
Fri, 11 Jan 2019 08:26:29 +0000 (09:26 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 12 Jan 2019 02:13:31 +0000 (03:13 +0100)
Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/time.h
source3/lib/time.c

index 9b897eb4b6cef2ce3cfd117a4b9891debd12ba91..1988b330576eba2ef2dc6a6164f511e93fd0bd99 100644 (file)
@@ -180,11 +180,6 @@ void push_nttime(uint8_t *base, uint16_t offset, NTTIME t);
 */
 NTTIME pull_nttime(uint8_t *base, uint16_t offset);
 
-/**
-  parse a nttime as a large integer in a string and return a NTTIME
-*/
-NTTIME nttime_from_string(const char *s);
-
 /**
   return (tv1 - tv2) in microseconds
 */
index 30ad1ec9a014c68251410e75647c5f0f05e2dd0e..6b864253a916f742528e556d8265e425a1be8bcf 100644 (file)
 #define TIME_FIXUP_CONSTANT_INT 11644473600LL
 #endif
 
-
-/**
-  parse a nttime as a large integer in a string and return a NTTIME
-*/
-NTTIME nttime_from_string(const char *s)
-{
-       return strtoull(s, NULL, 0);
-}
-
 /**************************************************************
  Handle conversions between time_t and uint32, taking care to
  preserve the "special" values.