summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/accept.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86/syscalls/accept.S')
-rw-r--r--libc/arch-x86/syscalls/accept.S9
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/arch-x86/syscalls/accept.S b/libc/arch-x86/syscalls/accept.S
index ccd56e7..f5fcb5d 100644
--- a/libc/arch-x86/syscalls/accept.S
+++ b/libc/arch-x86/syscalls/accept.S
@@ -1,12 +1,8 @@
/* autogenerated by gensyscalls.py */
+#include <machine/asm.h>
#include <sys/linux-syscalls.h>
- .text
- .type accept, @function
- .globl accept
- .align 4
-
-accept:
+ENTRY(accept)
pushl %ebx
pushl %ecx
mov $5, %ebx
@@ -25,3 +21,4 @@ accept:
popl %ecx
popl %ebx
ret
+END(accept)