mirror of
https://github.com/samba-team/samba.git
synced 2025-02-24 13:57:43 +03:00
lib: remove unused function nttime_from_string()
Signed-off-by: Swen Schillig <swen@linux.ibm.com> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
168079b2c3
commit
a2f718fb75
@ -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
|
||||
*/
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user