diff options
Diffstat (limited to '05/test.c')
-rw-r--r-- | 05/test.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,6 +1,5 @@ -// calling assembly functions from C is not working for some reason. extern unsigned long __syscall(int, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long); -int main(unsigned long (*_syscall)(int, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)) { +int main(void) { __syscall(1, 1, (unsigned long)"Hello, world!\n", 14, 0, 0, 0); return 42; } |