From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Dickson Subject: [PATCH 21/24] Removed warnings from configfile.c Date: Wed, 4 Aug 2010 11:12:17 -0400 Message-ID: <1280934740-11366-22-git-send-email-steved@redhat.com> References: <1280934740-11366-1-git-send-email-steved@redhat.com> To: Linux NFS Mailing list Return-path: Received: from 4dicksons.org ([207.22.49.45]:45173 "EHLO Dobby.Home.4dicksons.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754973Ab0HDPvK (ORCPT ); Wed, 4 Aug 2010 11:51:10 -0400 Received: from tophat.home.4dicksons.org ([192.168.62.20]) by Dobby.Home.4dicksons.org with esmtp (Exim 4.63) (envelope-from ) id 1Ogfdo-0002SZ-IN for linux-nfs@vger.kernel.org; Wed, 04 Aug 2010 11:12:24 -0400 In-Reply-To: <1280934740-11366-1-git-send-email-steved@redhat.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: configfile.c:195: warning: 'inline' is not at beginning of declaration configfile.c:232: warning: 'inline' is not at beginning of declaration Signed-off-by: Steve Dickson --- utils/mount/configfile.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/mount/configfile.c b/utils/mount/configfile.c index 5cff009..6f2ee75 100644 --- a/utils/mount/configfile.c +++ b/utils/mount/configfile.c @@ -192,7 +192,8 @@ void free_all(void) } } static char *versions[] = {"v2", "v3", "v4", "vers", "nfsvers", NULL}; -int inline check_vers(char *mopt, char *field) +static int +check_vers(char *mopt, char *field) { int i, found=0; @@ -229,7 +230,8 @@ extern sa_family_t config_default_family; * If so, set the appropriate global value which will * be used as the initial value in the server negation. */ -int inline default_value(char *mopt) +static int +default_value(char *mopt) { struct mount_options *options = NULL; int dftlen = strlen("default"); -- 1.7.2