From: Phillip Lougher Subject: [PATCH 1/7] squashfs: fix compiler inline warning Date: Fri, 06 Aug 2010 01:23:48 +0100 Message-ID: <4C5B5614.7080206@lougher.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: linux-fsdevel@vger.kernel.org Return-path: Received: from anchor-post-3.mail.demon.net ([195.173.77.134]:42705 "EHLO anchor-post-3.mail.demon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759313Ab0HFAZX (ORCPT ); Thu, 5 Aug 2010 20:25:23 -0400 Received: from lougher.demon.co.uk ([80.177.127.218] helo=[10.0.1.3]) by anchor-post-3.mail.demon.net with esmtp (Exim 4.69) id 1OhAkU-0000mE-nZ for linux-fsdevel@vger.kernel.org; Fri, 06 Aug 2010 00:25:22 +0000 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Fix compiler warning where inline conflicts with non-inline prototype. Reported-by: Geert Uytterhoeven Signed-off-by: Phillip Lougher --- fs/squashfs/xattr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 */ -- 1.6.3.3