summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-02-14 21:32:49 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-02-14 21:36:45 +0100
commitf7900e258dfb8ab55f333d02d96f908ca0ea8899 (patch)
tree5ea3f278094931de8f37eaef5ded6bfa3ac1e3c9 /src/shared/util.h
parent47a81ba2e101058459328d2da3d9b950a8030c86 (diff)
bootchart: use conf-parser & CamelCase names in .conf
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 88ef2f9040..19cc36af84 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -122,6 +122,8 @@ int safe_atoi(const char *s, int *ret_i);
int safe_atollu(const char *s, unsigned long long *ret_u);
int safe_atolli(const char *s, long long int *ret_i);
+int safe_atod(const char *s, double *ret_d);
+
#if __WORDSIZE == 32
static inline int safe_atolu(const char *s, unsigned long *ret_u) {
assert_cc(sizeof(unsigned long) == sizeof(unsigned));