summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/test.c b/test.c
index d21e84a..1ec95d1 100644
--- a/test.c
+++ b/test.c
@@ -1,10 +1,6 @@
#include<stdio.h>
-
+#include <stdlib.h>
void entry(void) {
printf("hi\n");
- __asm__ (
- "mov $1, %eax\n"
- "mov $0, %ebx\n"
- "int $0x80\n"
- );
+ exit(0);
}