summaryrefslogtreecommitdiff
path: root/mount/mount_mntent.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2010-12-07 00:08:11 +0100
committerKarel Zak <kzak@redhat.com>2011-01-03 12:28:47 +0100
commit5ac6a133276d200e1736853e58a05887e7f75e90 (patch)
tree29dfa064cd89c1c155c10186739f77a76ce932ef /mount/mount_mntent.c
parent60dafc19adb7b23403db53c511b5a8d080a81d00 (diff)
downloadutil-linux-old-5ac6a133276d200e1736853e58a05887e7f75e90.tar.gz
libmount: cleanup mangle() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/mount_mntent.c')
-rw-r--r--mount/mount_mntent.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/mount/mount_mntent.c b/mount/mount_mntent.c
index 9e31d12f..a1e34db0 100644
--- a/mount/mount_mntent.c
+++ b/mount/mount_mntent.c
@@ -27,13 +27,6 @@ skip_spaces(char *s) {
return s;
}
-static char *
-skip_nonspaces(char *s) {
- while (*s && !is_space_or_tab(*s))
- s++;
- return s;
-}
-
/*
* fstat'ing the file and allocating a buffer holding all of it
* may be a bad idea: if the file is /proc/mounts, the stat