From add8d7ea01d5a22c2d7d184240dda6a7767e54e8 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 3 Jun 2021 08:26:04 +0200 Subject: dlfcn: Move dlvsym into libc The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerval Zanella --- include/dlfcn.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/dlfcn.h b/include/dlfcn.h index e898c17792..04ea4f6e2d 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -92,6 +92,7 @@ libc_hidden_proto (_dl_sym) NULL. */ extern void *_dl_vsym (void *handle, const char *name, const char *version, void *who); +libc_hidden_proto (_dl_vsym) /* Helper function for functions. Runs the OPERATE function via _dl_catch_error. Returns zero for success, nonzero for failure; and @@ -137,9 +138,8 @@ extern void *__dlmopen (Lmid_t nsid, const char *file, int mode, void *dl_caller); extern int __dlclose (void *handle); extern void *__dlsym (void *handle, const char *name, void *dl_caller); -extern void *__dlvsym (void *handle, const char *name, const char *version - DL_CALLER_DECL) - attribute_hidden; +extern void *__dlvsym (void *handle, const char *name, const char *version, + void *dl_caller); extern int __dladdr (const void *address, Dl_info *info); extern int __dladdr1 (const void *address, Dl_info *info, void **extra_info, int flags); -- cgit v1.2.3