move tlsdesc and internal dl function declarations to dynlink.h
[musl] / src / ldso / __dlsym.c
1 #include <dlfcn.h>
2 #include "dynlink.h"
3 #include "libc.h"
4
5 static void *stub_dlsym(void *restrict p, const char *restrict s, void *restrict ra)
6 {
7         __dl_seterr("Symbol not found: %s", s);
8         return 0;
9 }
10
11 weak_alias(stub_dlsym, __dlsym);