summaryrefslogtreecommitdiff
path: root/src/ldso/dlinfo.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-09 01:12:30 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:31 -0400
commit1bbe166e15e2c005c49c0aa53b8d106315d95ad0 (patch)
tree5ba53e9b0734e39e67617c2a3449f4b4c4fe9bfa /src/ldso/dlinfo.c
parent15230afc8dd5e6493da7cb5fcf0153672dab79d6 (diff)
downloadmusl-1bbe166e15e2c005c49c0aa53b8d106315d95ad0.tar.gz
musl-1bbe166e15e2c005c49c0aa53b8d106315d95ad0.tar.bz2
musl-1bbe166e15e2c005c49c0aa53b8d106315d95ad0.tar.xz
musl-1bbe166e15e2c005c49c0aa53b8d106315d95ad0.zip
move tlsdesc and internal dl function declarations to dynlink.h
Diffstat (limited to 'src/ldso/dlinfo.c')
-rw-r--r--src/ldso/dlinfo.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ldso/dlinfo.c b/src/ldso/dlinfo.c
index 1e2c5500..a8a5ad56 100644
--- a/src/ldso/dlinfo.c
+++ b/src/ldso/dlinfo.c
@@ -1,11 +1,8 @@
#define _GNU_SOURCE
#include <dlfcn.h>
+#include "dynlink.h"
#include "libc.h"
-hidden int __dl_invalid_handle(void *);
-
-hidden void __dl_seterr(const char *, ...);
-
int dlinfo(void *dso, int req, void *res)
{
if (__dl_invalid_handle(dso)) return -1;