summaryrefslogtreecommitdiffstats
path: root/libmount/src/context_mount.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/context_mount.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/context_mount.c')
-rw-r--r--libmount/src/context_mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c
index 94db1acda..4f376e4dd 100644
--- a/libmount/src/context_mount.c
+++ b/libmount/src/context_mount.c
@@ -21,6 +21,7 @@
#include "linux_version.h"
#include "mountP.h"
+#include "strutils.h"
/*
* Kernel supports only one MS_PROPAGATION flag change by one mount(2) syscall,