define and use internal macros for hidden visibility, weak refs
[musl] / src / ldso / dlopen.c
1 #include <dlfcn.h>
2 #include "libc.h"
3
4 hidden void __dl_seterr(const char *, ...);
5
6 static void *stub_dlopen(const char *file, int mode)
7 {
8         __dl_seterr("Dynamic loading not supported");
9         return 0;
10 }
11
12 weak_alias(stub_dlopen, dlopen);