From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756787Ab0I1QzP (ORCPT ); Tue, 28 Sep 2010 12:55:15 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:56086 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754534Ab0I1QzN (ORCPT ); Tue, 28 Sep 2010 12:55:13 -0400 Date: Tue, 28 Sep 2010 09:54:56 -0700 From: Randy Dunlap To: Stephen Rothwell Cc: linux-next@vger.kernel.org, LKML Subject: [PATCH -next] fs.h: fix functions for FILE_LOCKING disabled Message-Id: <20100928095456.4b390540.randy.dunlap@oracle.com> In-Reply-To: <20100928141823.8c61000e.sfr@canb.auug.org.au> References: <20100928141823.8c61000e.sfr@canb.auug.org.au> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap 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 --- 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) { }