summaryrefslogtreecommitdiff
path: root/sysdeps/vax/htonl.s
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/vax/htonl.s')
-rw-r--r--sysdeps/vax/htonl.s5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/vax/htonl.s b/sysdeps/vax/htonl.s
index af5b96c22f..93e13ea9a1 100644
--- a/sysdeps/vax/htonl.s
+++ b/sysdeps/vax/htonl.s
@@ -23,8 +23,11 @@
#include "DEFS.h"
-ENTRY(htonl, 0)
+ENTRY(__htonl, 0)
rotl $-8,4(ap),r0
insv r0,$16,$8,r0
movb 7(ap),r0
ret
+strong_alias (__htonl, __ntohl)
+weak_alias (__htonl, htonl)
+weak_alias (__ntohl, ntohl)