diff options
author | Niels de Vos <ndevos@redhat.com> | 2015-07-17 12:09:55 +0200 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-07-23 07:33:03 -0700 |
commit | 8f2c7e67a8fa9cbf9f3b62ab0de930d921e3d362 (patch) | |
tree | 0aebd95712d0c1406652aebd0e294cf18e303372 /xlators/storage/bd/src/bd.h | |
parent | 4703fc724a5b5070fa0fce5204015faaf38858f1 (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/storage/bd/src/bd.h')
-rw-r--r-- | xlators/storage/bd/src/bd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/bd/src/bd.h b/xlators/storage/bd/src/bd.h index f59bc6a09ed..c308c59b903 100644 --- a/xlators/storage/bd/src/bd.h +++ b/xlators/storage/bd/src/bd.h @@ -172,7 +172,7 @@ int bd_clone (bd_local_t *local, bd_priv_t *priv); int bd_merge (bd_priv_t *priv, uuid_t gfid); int bd_get_origin (bd_priv_t *priv, loc_t *loc, fd_t *fd, dict_t *dict); -inline void bd_update_amtime(struct iatt *iatt, int flag); +void bd_update_amtime(struct iatt *iatt, int flag); int bd_snapshot_create (bd_local_t *local, bd_priv_t *priv); int bd_clone (bd_local_t *local, bd_priv_t *priv); int bd_merge (bd_priv_t *priv, uuid_t gfid); |