syscall overhaul part two - unify public and internal syscall interface
[musl] / src / exit / _Exit.c
index 8ef85a8..d18b618 100644 (file)
@@ -1,9 +1,8 @@
 #include <stdlib.h>
-#define SYSCALL_NORETURN
 #include "syscall.h"
 
 void _Exit(int ec)
 {
-       syscall1(__NR_exit_group, ec);
-       syscall1(__NR_exit, ec);
+       __syscall(__NR_exit_group, ec);
+       __syscall(__NR_exit, ec);
 }