From: Steve Dickson Date: Wed, 4 Aug 2010 14:29:28 +0000 (-0400) Subject: Removed warnings from configfile.c X-Git-Tag: nfs-utils-1-2-3-rc5~3 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=2ccfd2d5f390bcac7a44f8887cd3f15df1966e0f Removed warnings from configfile.c 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 --- 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");