summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/common-utils.h
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-09-27 00:49:54 +0530
committerPranith Kumar K <pkarampu@redhat.com>2012-09-27 10:41:19 +0530
commit13cfed388a19dd70984197fb14330d0277ba91e7 (patch)
tree8e86f3cc4f441b3804741ee9dc6dbb9288269b12 /libglusterfs/src/common-utils.h
parentc8f9437b6ef507a4dc7fe03aa32a9fbf220d09f6 (diff)
mgmt/glusterd: Implementation of server-side quorum.
Feature-page: http://www.gluster.org/community/documentation/index.php/Features/Server-quorum Change-Id: Ifec0f1a697d390a29ba447a09750602fea1b3a4b BUG: 840122 Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Diffstat (limited to 'libglusterfs/src/common-utils.h')
-rw-r--r--libglusterfs/src/common-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h
index d5880291250..0c6d7ef7a5d 100644
--- a/libglusterfs/src/common-utils.h
+++ b/libglusterfs/src/common-utils.h
@@ -442,7 +442,7 @@ int gf_string2percent_or_bytesize (const char *str, uint64_t *n,
gf_boolean_t *is_percent);
int gf_string2boolean (const char *str, gf_boolean_t *b);
-int gf_string2percent (const char *str, uint32_t *n);
+int gf_string2percent (const char *str, double *n);
int gf_string2time (const char *str, uint32_t *n);
int gf_lockfd (int fd);