summaryrefslogtreecommitdiff
path: root/lib/libc/arch/x86_64/net/htons.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/x86_64/net/htons.S')
-rw-r--r--lib/libc/arch/x86_64/net/htons.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/x86_64/net/htons.S b/lib/libc/arch/x86_64/net/htons.S
index 80d9f9374a8..62295abcd97 100644
--- a/lib/libc/arch/x86_64/net/htons.S
+++ b/lib/libc/arch/x86_64/net/htons.S
@@ -1,10 +1,10 @@
-/* $OpenBSD: htons.S,v 1.1 2004/01/28 01:44:45 mickey Exp $ */
+/* $OpenBSD: htons.S,v 1.2 2004/02/10 00:08:11 drahn Exp $ */
/* Written by Artur Grabowski. Public Domain */
#include <machine/asm.h>
-ENTRY(_C_LABEL(htonl))
+ENTRY(_C_LABEL(htons))
movl %edi,%eax
xchgb %ah,%al
ret