procd: Replace strerror(errno) with %m.
[project/procd.git] / initd / init.h
index 1321cf8..123e114 100644 (file)
 #ifndef _INIT_H__
 #define _INIT_H__
 
+#include <errno.h>
+
 #include "../log.h"
 
+#ifndef EARLY_PATH
+#define EARLY_PATH "/usr/sbin:/sbin:/usr/bin:/bin"
+#endif
+
 void preinit(void);
 void early(void);
 int mkdev(const char *progname, int progmode);
 
+#ifdef ZRAM_TMPFS
+int mount_zram_on_tmp(void);
+#else
+static inline int mount_zram_on_tmp(void) {
+       return -ENOSYS;
+}
+#endif
 #endif