From: Phillip Lougher Date: Mon, 31 May 2010 17:32:17 +0000 (+0100) Subject: squashfs: fix compiler inline warning X-Git-Tag: v2.6.36-rc1~97^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a02956e4cc655f746134806119cce1bccfc2c610;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git squashfs: fix compiler inline warning Fix compiler warning where inline conflicts with non-inline prototype. Reported-by: Geert Uytterhoeven Signed-off-by: Phillip Lougher --- diff --git a/fs/squashfs/xattr.c b/fs/squashfs/xattr.c index c7655e8..da58d8f 100644 --- a/fs/squashfs/xattr.c +++ b/fs/squashfs/xattr.c @@ -295,7 +295,7 @@ static const struct xattr_handler squashfs_xattr_security_handler = { .get = squashfs_security_get }; -static inline const struct xattr_handler *squashfs_xattr_handler(int type) +static const struct xattr_handler *squashfs_xattr_handler(int type) { if (type & ~(SQUASHFS_XATTR_PREFIX_MASK | SQUASHFS_XATTR_VALUE_OOL)) /* ignore unrecognised type */