Relocate ismnt() and fismnt() to util.c, for sharing with initctl

initctl cannot link with helpers.c, so let's relocate these helper
functions to util.c instead.  Need them to probe for cgroup support.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2022-01-10 20:26:37 +01:00
parent 3b21d35f23
commit d331b72dfd
5 changed files with 54 additions and 53 deletions
+1 -1
View File
@@ -48,7 +48,7 @@
#include "config.h"
#include "finit.h"
#include "helpers.h"
#include "util.h"
#include "plugin.h"
struct module {