summaryrefslogtreecommitdiff
path: root/src/internal/dynlink.h
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/internal/dynlink.h
parent15230afc8dd5e6493da7cb5fcf0153672dab79d6 (diff)
downloadmusl-1bbe166e15e2c005c49c0aa53b8d106315d95ad0.tar.gz
move tlsdesc and internal dl function declarations to dynlink.h
Diffstat (limited to 'src/internal/dynlink.h')
-rw-r--r--src/internal/dynlink.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/internal/dynlink.h b/src/internal/dynlink.h
index 5717627a..90b6e481 100644
--- a/src/internal/dynlink.h
+++ b/src/internal/dynlink.h
@@ -4,6 +4,8 @@
#include <features.h>
#include <elf.h>
#include <stdint.h>
+#include <stddef.h>
+#include "libc.h"
#if UINTPTR_MAX == 0xffffffff
typedef Elf32_Ehdr Ehdr;
@@ -95,4 +97,12 @@ struct fdpic_dummy_loadmap {
typedef void (*stage2_func)(unsigned char *, size_t *);
typedef _Noreturn void (*stage3_func)(size_t *);
+hidden void *__dlsym(void *restrict, const char *restrict, void *restrict);
+
+hidden void __dl_seterr(const char *, ...);
+hidden int __dl_invalid_handle(void *);
+hidden void __dl_vseterr(const char *, va_list);
+
+hidden ptrdiff_t __tlsdesc_static(), __tlsdesc_dynamic();
+
#endif