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