X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=initd%2Finit.h;h=274645b91744818bb23dbb12322000b828e45722;hp=1321cf8f9418e6cfb27155e627145f6bc8d2bf0f;hb=e1a27d486c2374f46abd264f3fd6561815155ebd;hpb=916f95cb58604038695347ee41a430d8ca1f0556 diff --git a/initd/init.h b/initd/init.h index 1321cf8..274645b 100644 --- a/initd/init.h +++ b/initd/init.h @@ -14,10 +14,19 @@ #ifndef _INIT_H__ #define _INIT_H__ +#include + #include "../log.h" 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