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