dlfcn: Remove internal_function attribute

This commit is contained in:
Florian Weimer 2017-08-31 16:12:03 +02:00
parent 59bd52b087
commit 86e4919f57
4 changed files with 9 additions and 9 deletions

View File

@ -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)

View 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;

View 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);

View 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 */