mirror of git://git.musl-libc.org/musl
move dlclose out of dynlink.c to its own source file
This commit is contained in:
parent
891e6547b4
commit
da1fe7f500
|
@ -0,0 +1,9 @@
|
|||
#include <dlfcn.h>
|
||||
|
||||
__attribute__((__visibility__("hidden")))
|
||||
int __dl_invalid_handle(void *);
|
||||
|
||||
int dlclose(void *p)
|
||||
{
|
||||
return __dl_invalid_handle(p);
|
||||
}
|
|
@ -1940,11 +1940,6 @@ int __dlinfo(void *dso, int req, void *res)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int dlclose(void *p)
|
||||
{
|
||||
return __dl_invalid_handle(p);
|
||||
}
|
||||
|
||||
__attribute__((__visibility__("hidden")))
|
||||
void __dl_vseterr(const char *, va_list);
|
||||
|
||||
|
|
Loading…
Reference in New Issue