Skip to content

Commit

Permalink
squashfs: fix compiler inline warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Phillip Lougher committed May 31, 2010
1 parent 899f453 commit a02956e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/squashfs/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit a02956e

Please sign in to comment.