Don't define __ protected names.
authorUlrich Drepper <drepper@redhat.com>
Thu, 24 Jul 1997 01:35:45 +0000 (01:35 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 24 Jul 1997 01:35:45 +0000 (01:35 +0000)
sysdeps/alpha/htonl.S
sysdeps/alpha/htons.S
sysdeps/vax/htonl.s
sysdeps/vax/htons.s

index c6e09f1..4308192 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -18,7 +18,7 @@
 
 #include <sysdep.h>
 
-ENTRY(__htonl)
+ENTRY(htonl)
 #ifdef PROF
        ldgp    gp, 0(pv)
        .set noat
@@ -43,6 +43,4 @@ ENTRY(__htonl)
 
        END(__htonl)
 
-strong_alias_asm(__htonl, __ntohl)
-weak_alias(__htonl, htonl)
-weak_alias(__htonl, ntohl)
+weak_alias(htonl, ntohl)
index 8d3aefe..f65f0e0 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -18,7 +18,7 @@
 
 #include <sysdep.h>
 
-ENTRY(__htons)
+ENTRY(htons)
 #ifdef PROF
        ldgp    gp, 0(pv)
        .set noat
@@ -37,6 +37,4 @@ ENTRY(__htons)
 
        END(__htons)
 
-strong_alias_asm(__htons, __ntohs)
-weak_alias(__htons, htons)
-weak_alias(__htons, ntohs)
+weak_alias(htons, ntohs)
index 93e13ea..ba39986 100644 (file)
 
 #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)
+weak_alias (htonl, ntohl)
index 16964c2..1e781a1 100644 (file)
@@ -28,6 +28,4 @@ ENTRY(htons, 0)
        movb    5(ap),r0
        movzwl  r0,r0
        ret
-strong_alias (__htons, __ntohs)
-weak_alias (__htons, htons)
-weak_alias (__ntohs, ntohs)
+weak_alias (htons, ntohs)