Skip to contentSkip to conversation

squashfs: fix compiler inline warning

PATCH New Phillip Lougher 1 participant 1 message Aug 6, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/7 squashfs: fix compiler inline warning

Fix compiler warning where inline conflicts with non-inline prototype.

---
 fs/squashfs/xattr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/squashfs/xattr.c +1 -1
index c7655e8..da58d8f 100644
@@ -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 */
Signature · 1 line
1.6.3.3