[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100928095456.4b390540.randy.dunlap@oracle.com>
Date: Tue, 28 Sep 2010 09:54:56 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH -next] fs.h: fix functions for FILE_LOCKING disabled
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix function signature warning when CONFIG_FILE_LOCKING is disabled.
include/linux/fs.h:1275: warning: function declaration isn't a prototype
include/linux/fs.h:1279: warning: function declaration isn't a prototype
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
include/linux/fs.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-next-20100927.orig/include/linux/fs.h
+++ linux-next-20100927/include/linux/fs.h
@@ -1271,11 +1271,11 @@ static inline int lock_may_write(struct
return 1;
}
-static inline void lock_flocks()
+static inline void lock_flocks(void)
{
}
-static inline void unlock_flocks()
+static inline void unlock_flocks(void)
{
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists