summaryrefslogtreecommitdiffstats
path: root/libmount/src/optmap.c
diff options
context:
space:
mode:
authorSami Kerola2013-08-29 16:50:17 +0200
committerSami Kerola2013-08-29 19:14:08 +0200
commit199e939d88333162f440ea50b83415dac625c89c (patch)
tree33b50feb3b2a065311e3c1477971e728e1fffccc /libmount/src/optmap.c
parentlib/time-util: copy time parsing functions from systemd (diff)
downloadkernel-qcow2-util-linux-199e939d88333162f440ea50b83415dac625c89c.tar.gz
kernel-qcow2-util-linux-199e939d88333162f440ea50b83415dac625c89c.tar.xz
kernel-qcow2-util-linux-199e939d88333162f440ea50b83415dac625c89c.zip
lib/strutils: move *swith() functions to private library
Avoid code dublication in libmount and time-util. Proposed-by: Karel Zak <kzak@redhat.com> Reference: http://markmail.org/message/h7zexvqsieqngtmx Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'libmount/src/optmap.c')
-rw-r--r--libmount/src/optmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/src/optmap.c b/libmount/src/optmap.c
index 504a5cf85..5b25b8f29 100644
--- a/libmount/src/optmap.c
+++ b/libmount/src/optmap.c
@@ -58,6 +58,7 @@
* mount/mount.h.
*/
#include "mountP.h"
+#include "strutils.h"
/*
* fs-independent mount flags (built-in MNT_LINUX_MAP)