summaryrefslogtreecommitdiff
path: root/src/ldso/dynlink.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-01-25 18:37:05 -0500
committerRich Felker <dalias@aerifal.cx>2016-01-25 18:44:29 -0500
commit4f8f038060739eca4c5cb97bb067529be96658d2 (patch)
treeb188e98ad4d599cf360261ceb577d26486456ac5 /src/ldso/dynlink.c
parenta4fbc82c8e2a311baa0c6b5a4a4cdbb6c8f66edb (diff)
downloadmusl-4f8f038060739eca4c5cb97bb067529be96658d2.tar.gz
move static/stub version of dladdr out of dynlink.c
Diffstat (limited to 'src/ldso/dynlink.c')
-rw-r--r--src/ldso/dynlink.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
index 492c22a8..8d793f26 100644
--- a/src/ldso/dynlink.c
+++ b/src/ldso/dynlink.c
@@ -1823,7 +1823,7 @@ failed:
return 0;
}
-int __dladdr(const void *addr, Dl_info *info)
+int dladdr(const void *addr, Dl_info *info)
{
struct dso *p;
Sym *sym, *bestsym;
@@ -1928,10 +1928,6 @@ void *__dlsym(void *restrict p, const char *restrict s, void *restrict ra)
error("Symbol not found: %s", s);
return 0;
}
-int __dladdr (const void *addr, Dl_info *info)
-{
- return 0;
-}
#endif
int __dlinfo(void *dso, int req, void *res)