aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/sysdeps/lyre/generic/reboot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/sysdeps/lyre/generic/reboot.cpp')
-rw-r--r--lib/mlibc/sysdeps/lyre/generic/reboot.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/mlibc/sysdeps/lyre/generic/reboot.cpp b/lib/mlibc/sysdeps/lyre/generic/reboot.cpp
new file mode 100644
index 0000000..7c86ffd
--- /dev/null
+++ b/lib/mlibc/sysdeps/lyre/generic/reboot.cpp
@@ -0,0 +1,7 @@
+#include <errno.h>
+#include <sys/reboot.h>
+#include <bits/ensure.h>
+
+int reboot(int what) {
+ return 0;
+}