[PATCH] lib: remove unused function nttime_from_string()

swen swen at linux.ibm.com
Fri Jan 11 08:28:22 UTC 2019


Please review and push if happy.

Thanks for your support in advance.

Cheers Swen
-------------- next part --------------
From 4a097b705ca63f0a3ff7788a600f584fe3e73063 Mon Sep 17 00:00:00 2001
From: Swen Schillig <swen at linux.ibm.com>
Date: Fri, 11 Jan 2019 09:26:29 +0100
Subject: [PATCH] lib: remove unused function nttime_from_string()

Signed-off-by: Swen Schillig <swen at linux.ibm.com>
---
 source3/lib/time.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/source3/lib/time.c b/source3/lib/time.c
index 30ad1ec9a01..6b864253a91 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -36,15 +36,6 @@
 #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.
-- 
2.20.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190111/c874f95c/signature.sig>


More information about the samba-technical mailing list