Export ismnt() and fismnt() helper functions, for modprobe plugin

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2020-04-26 14:55:38 +02:00
1 parent 37d92e87bc
commit 3f5ff0d339
3 files changed
+32 -27

No files matched your search

+4
View File
@@ -25,6 +25,7 @@
#ifndef FINIT_HELPERS_H_
#define FINIT_HELPERS_H_
#include <mntent.h>
#include <stdarg.h>
#include <sys/resource.h>
#include <sys/types.h>
@@ -83,6 +84,9 @@ static inline void create(char *path, mode_t mode, uid_t uid, gid_t gid)
_w("Failed creating %s properly.", path);
}
int ismnt (char *file, char *dir);
int fismnt (char *dir);
#endif /* FINIT_HELPERS_H_ */
/**