summaryrefslogtreecommitdiff
path: root/sysdeps/i386/htons.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/htons.S')
-rw-r--r--sysdeps/i386/htons.S8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/i386/htons.S b/sysdeps/i386/htons.S
index 5d0f59c92b..b0539c55cd 100644
--- a/sysdeps/i386/htons.S
+++ b/sysdeps/i386/htons.S
@@ -26,13 +26,11 @@
*/
.text
-ENTRY (__htons)
+ENTRY (htons)
movl 4(%esp), %eax
andl $0xffff, %eax
rorw $8, %ax
ret
-END (__htons)
+END (htons)
-strong_alias (__htons, __ntohs)
-weak_alias (__htons, htons)
-weak_alias (__ntohs, ntohs)
+weak_alias (htons, ntohs)