summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota/src/quota.c
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2015-07-17 12:09:55 +0200
committerNiels de Vos <ndevos@redhat.com>2015-07-23 07:33:03 -0700
commit8f2c7e67a8fa9cbf9f3b62ab0de930d921e3d362 (patch)
tree0aebd95712d0c1406652aebd0e294cf18e303372 /xlators/features/quota/src/quota.c
parent4703fc724a5b5070fa0fce5204015faaf38858f1 (diff)
build: drop incorrect usage of 'inline'
Newer versions of gcc complain loudly about the incorrect usage of 'inline'. These changes have been part of commit a3cb38e3 in other branches. There is no need to backport everything from that commit, but silencing the warnings would be good. Change-Id: I2319d9682b47e8533e9c179056a5152f75aeddc3 BUG: 1244147 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/11711 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'xlators/features/quota/src/quota.c')
-rw-r--r--xlators/features/quota/src/quota.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index 9dcfb74b3fa..4edc8014a4d 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -384,7 +384,7 @@ quota_timeout (struct timeval *tv, int32_t timeout)
return timed_out;
}
-inline void
+void
quota_add_parent (quota_dentry_t *dentry, struct list_head *list)
{
quota_dentry_t *entry = NULL;
@@ -938,7 +938,7 @@ err:
return 0;
}
-inline int
+int
quota_get_limits (xlator_t *this, dict_t *dict, int64_t *hard_lim,
int64_t *soft_lim)
{