summaryrefslogtreecommitdiff
path: root/src/basic/parse-util.h
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2015-11-16 10:15:05 +0200
committerHristo Venev <hristo@venev.name>2015-11-17 23:52:09 +0200
commit436dd70f5331ec541ebdd84e106abaa63203f6f1 (patch)
treeaeb12e97a49051979dce893fa1b92bed52ba1153 /src/basic/parse-util.h
parent92939fc4c0261dccd4b755186aba84a9b1412bed (diff)
calendarspec: sub-second support, v3
Diffstat (limited to 'src/basic/parse-util.h')
-rw-r--r--src/basic/parse-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/parse-util.h b/src/basic/parse-util.h
index 408690d0b3..125de53d7a 100644
--- a/src/basic/parse-util.h
+++ b/src/basic/parse-util.h
@@ -90,3 +90,5 @@ static inline int safe_atoli(const char *s, long int *ret_u) {
#endif
int safe_atod(const char *s, double *ret_d);
+
+int parse_fractional_part_u(const char **s, size_t digits, unsigned *res);