summaryrefslogtreecommitdiff
path: root/src/include-local
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-20 00:00:22 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-20 00:00:22 +0000
commit1172c1e817d26d5f9bb0ec289dd9a71aadf2759c (patch)
tree6c7e5eb2ebb255c7be81d1535559fa7c4a63af4b /src/include-local
parent3bde455795bb3273922ec7be293e3911913576c2 (diff)
downloads6-linux-init-1172c1e817d26d5f9bb0ec289dd9a71aadf2759c.tar.xz
Add portability infrastructure
Diffstat (limited to 'src/include-local')
-rw-r--r--src/include-local/os.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include-local/os.h b/src/include-local/os.h
new file mode 100644
index 0000000..72062e9
--- /dev/null
+++ b/src/include-local/os.h
@@ -0,0 +1,11 @@
+/* ISC license. */
+
+#ifndef S6_LINUX_INIT_OS_H
+#define S6_LINUX_INIT_OS_H
+
+extern void os_reboot (int) ;
+extern void os_kbspecials (int) ;
+extern void os_mount_tmpfs (char const *, unsigned int) ;
+extern int os_mount_devtmpfs (char const *) ;
+
+#endif