]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 c6e09f134fa77e7411b7051a684f21f246419c14..4308192cbf3dcc1e0cd1830a9e98e9a6c581368b 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 8d3aefe14975c591c2e4f414c3d1afac8be0c699..f65f0e0826dabbfd18b30a081cac8332f71f6a3f 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 93e13ea9a10cdc17d5a276a1478a309d18040d52..ba399865ec5eae82f7a55da9fa2ca71ee3bab93d 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 16964c286197d711e88114f2636e468712d3729c..1e781a17c932b3338149e047968fb4be8436d245 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)