mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
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:
1 parent
3b21d35f23
commit
d331b72dfd
5 files changed
+54
-53
No files matched your search
@@ -130,9 +130,6 @@ static inline int dprint(int fd, const char *s, size_t len)
|
||||
return rc;
|
||||
}
|
||||
|
||||
int ismnt (char *file, char *dir, char *mode);
|
||||
int fismnt (char *dir);
|
||||
|
||||
#endif /* FINIT_HELPERS_H_ */
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user