summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorXavier Hernandez <xhernandez@datalab.es>2015-01-15 09:38:04 +0100
committerVijay Bellur <vbellur@redhat.com>2015-01-18 22:01:17 -0800
commit63dc6e1942dffcddd99c5048a498ca00eead8baa (patch)
treeabc5679ddc5545fc11d11f40f85defaeb14b474e /xlators/cluster
parent658b090e9b54580861f7355329b448a64c642b6e (diff)
ec: Remove unneeded 'inline' for ec_is_internal_xattr()
An incorrectly placed 'inline' keyword caused compilation warnings with gcc 5. Change-Id: I2bf8c39b1514ea7dac13e82eb3b6ff4b98e62c79 BUG: 1182267 Signed-off-by: Xavier Hernandez <xhernandez@datalab.es> Reviewed-on: http://review.gluster.org/9452 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/ec/src/ec-helpers.c2
-rw-r--r--xlators/cluster/ec/src/ec-helpers.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/xlators/cluster/ec/src/ec-helpers.c b/xlators/cluster/ec/src/ec-helpers.c
index 05ecab51ab6..751c0802ebb 100644
--- a/xlators/cluster/ec/src/ec-helpers.c
+++ b/xlators/cluster/ec/src/ec-helpers.c
@@ -695,7 +695,7 @@ uint64_t ec_adjust_size(ec_t * ec, uint64_t size, int32_t scale)
return size;
}
-inline gf_boolean_t
+gf_boolean_t
ec_is_internal_xattr (dict_t *dict, char *key, data_t *value, void *data)
{
if (key &&
diff --git a/xlators/cluster/ec/src/ec-helpers.h b/xlators/cluster/ec/src/ec-helpers.h
index ff61839756c..5f5d9382532 100644
--- a/xlators/cluster/ec/src/ec-helpers.h
+++ b/xlators/cluster/ec/src/ec-helpers.h
@@ -52,7 +52,7 @@ static inline int32_t ec_is_power_of_2(uint32_t value)
return (value != 0) && ((value & (value - 1)) == 0);
}
-inline gf_boolean_t
+gf_boolean_t
ec_is_internal_xattr (dict_t *dict, char *key, data_t *value, void *data);
void