From: Ulrich Drepper Date: Tue, 22 Jul 1997 00:09:25 +0000 (+0000) Subject: Add aliases for ntohl. X-Git-Tag: glibc-2.16-ports-before-merge~3460 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36968baa4091d1e1b78cc2439e0732b8c0ede065;p=thirdparty%2Fglibc.git Add aliases for ntohl. --- diff --git a/sysdeps/vax/htonl.s b/sysdeps/vax/htonl.s index af5b96c22fd..93e13ea9a10 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)