]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
dlfcn: Remove internal_function attribute
authorFlorian Weimer <fweimer@redhat.com>
Thu, 31 Aug 2017 14:12:03 +0000 (16:12 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 31 Aug 2017 14:12:03 +0000 (16:12 +0200)
ChangeLog
dlfcn/dlerror.c
elf/dl-sym.c
include/dlfcn.h

index d5bc75dbd87e08fe5fa3964355c37215ab9912ab..b2c4378a54073a882932452afdd2ccebef3d91c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-08-31  Florian Weimer  <fweimer@redhat.com>
+
+       * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
+       * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
+       * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
+
 2017-08-31  Florian Weimer  <fweimer@redhat.com>
 
        * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
index c0ead7dcb64e782ac4f2bee67d6117dc68a8314f..fb5012ee854a7c924d62d83c41057b4e961a1236 100644 (file)
@@ -120,7 +120,6 @@ strong_alias (__dlerror, dlerror)
 # endif
 
 int
-internal_function
 _dlerror_run (void (*operate) (void *), void *args)
 {
   struct dl_action_result *result;
index fb54a918587c02655e0bf1bbc26f26e9975043cc..97cfcca7128015359a2dd08815673992bdeb3008 100644 (file)
@@ -235,7 +235,6 @@ RTLD_NEXT used in code not dynamically loaded"));
 
 
 void *
-internal_function
 _dl_vsym (void *handle, const char *name, const char *version, void *who)
 {
   struct r_found_version vers;
@@ -252,7 +251,6 @@ _dl_vsym (void *handle, const char *name, const char *version, void *who)
 
 
 void *
-internal_function
 _dl_sym (void *handle, const char *name, void *who)
 {
   return do_sym (handle, name, who, NULL, DL_LOOKUP_RETURN_NEWEST);
index 51cc1dfde82c831d9f553ef3fa30fcafd2b172ca..888e84d4b8974b0631d789d97badbaa6b1623ae5 100644 (file)
@@ -59,23 +59,20 @@ extern void _dl_close_worker (struct link_map *map, bool force)
 /* Look up NAME in shared object HANDLE (which may be RTLD_DEFAULT or
    RTLD_NEXT).  WHO is the calling function, for RTLD_NEXT.  Returns
    the symbol value, which may be NULL.  */
-extern void *_dl_sym (void *handle, const char *name, void *who)
-    internal_function;
+extern void *_dl_sym (void *handle, const char *name, void *who);
 
 /* Look up version VERSION of symbol NAME in shared object HANDLE
    (which may be RTLD_DEFAULT or RTLD_NEXT).  WHO is the calling
    function, for RTLD_NEXT.  Returns the symbol value, which may be
    NULL.  */
 extern void *_dl_vsym (void *handle, const char *name, const char *version,
-                      void *who)
-    internal_function;
+                      void *who);
 
 /* Helper function for <dlfcn.h> functions.  Runs the OPERATE function via
    _dl_catch_error.  Returns zero for success, nonzero for failure; and
    arranges for `dlerror' to return the error details.
    ARGS is passed as argument to OPERATE.  */
-extern int _dlerror_run (void (*operate) (void *), void *args)
-     internal_function;
+extern int _dlerror_run (void (*operate) (void *), void *args);
 
 #ifdef SHARED
 # define DL_CALLER_DECL /* Nothing */