summaryrefslogtreecommitdiffstats
path: root/support/nfs/conffile.c
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2009-08-07 14:34:42 -0400
committerSteve Dickson <steved@redhat.com>2009-08-16 17:06:44 -0400
commit8414d150cee62ba0554cfd645956a88dba02a7eb (patch)
treefe57de29ea4a1c911aa7eb9cabff7adca37de0ae /support/nfs/conffile.c
parenta0caba9887474cdc9b9ba8b113a869ff7954ab84 (diff)
downloadnfs-utils-8414d150cee62ba0554cfd645956a88dba02a7eb.tar.gz
nfs-utils-8414d150cee62ba0554cfd645956a88dba02a7eb.tar.xz
nfs-utils-8414d150cee62ba0554cfd645956a88dba02a7eb.zip
Now that only the Section names are case-insensitive
the mount code has to make sure the the mount options given to the kernel are in the correct case. Fixed a couple of warnings on #ifndefs Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/conffile.c')
-rw-r--r--support/nfs/conffile.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/support/nfs/conffile.c b/support/nfs/conffile.c
index 97dc88a..b19b739 100644
--- a/support/nfs/conffile.c
+++ b/support/nfs/conffile.c
@@ -120,18 +120,6 @@ conf_hash(char *s)
}
/*
- * Convert letter from upper case to lower case
- */
-static inline void upper2lower(char *str)
-{
- char *ptr = str;
-
- while (*ptr)
- *ptr++ = tolower(*ptr);
-}
-
-
-/*
* Insert a tag-value combination from LINE (the equal sign is at POS)
*/
static int