From 8f2c7e67a8fa9cbf9f3b62ab0de930d921e3d362 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 17 Jul 2015 12:09:55 +0200 Subject: 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 Reviewed-on: http://review.gluster.org/11711 Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY --- xlators/storage/bd/src/bd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/storage/bd/src/bd.h') 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); -- cgit