summaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
Diffstat (limited to 'src/init')
-rw-r--r--src/init/main.c2
-rw-r--r--src/init/syscalls.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/init/main.c b/src/init/main.c
index 06ac3a2..d24dda0 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -16,7 +16,7 @@ const char *multipageify(const char *str) {
#define mount(path) _syscall_mount(path, sizeof(path)-1, 0)
-int main() {
+int main(void) {
mount("/");
mount("/some/where");
mount("/some");
diff --git a/src/init/syscalls.c b/src/init/syscalls.c
index 8d87beb..01dda51 100644
--- a/src/init/syscalls.c
+++ b/src/init/syscalls.c
@@ -8,7 +8,7 @@ _Noreturn void _syscall_exit(const char *msg, size_t len) {
__builtin_unreachable();
}
-int _syscall_fork() {
+int _syscall_fork(void) {
return _syscall(_SYSCALL_FORK, 0, 0, 0);
}