squashfs: fix compiler inline warning
authorPhillip Lougher <phillip@lougher.demon.co.uk>
Mon, 31 May 2010 17:32:17 +0000 (18:32 +0100)
committerPhillip Lougher <phillip@lougher.demon.co.uk>
Mon, 31 May 2010 17:32:17 +0000 (18:32 +0100)
Fix compiler warning where inline conflicts with non-inline
prototype.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
fs/squashfs/xattr.c

index c7655e8..da58d8f 100644 (file)
@@ -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 */