summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/common-utils.h
diff options
context:
space:
mode:
authorHarshavardhana <harsha@zresearch.com>2009-02-19 10:34:28 -0800
committerAnand V. Avati <avati@amp.gluster.com>2009-02-21 21:14:23 +0530
commitb5e0ee918fdff566e45bb255130b9efa6b8fb7b0 (patch)
tree42691ef026458d74d2fee4dd89b4d52dd3c8a119 /libglusterfs/src/common-utils.h
parent9679f8db65de29a40f622c12c2cc538d70b052b2 (diff)
new function gf_string2double for float/double values
fixed warning Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src/common-utils.h')
-rw-r--r--libglusterfs/src/common-utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h
index 2016b51eb..6c7390571 100644
--- a/libglusterfs/src/common-utils.h
+++ b/libglusterfs/src/common-utils.h
@@ -281,6 +281,7 @@ int gf_string2long (const char *str, long *n);
int gf_string2ulong (const char *str, unsigned long *n);
int gf_string2int (const char *str, int *n);
int gf_string2uint (const char *str, unsigned int *n);
+int gf_string2double (const char *str, double *n);
int gf_string2longlong (const char *str, long long *n);
int gf_string2ulonglong (const char *str, unsigned long long *n);