From: Rich Felker Date: Mon, 25 Jan 2016 23:53:40 +0000 (-0500) Subject: move dlclose out of dynlink.c to its own source file X-Git-Tag: v1.1.13~55 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=da1fe7f5008e7068f17147ee7c47e4c71a61d057;p=oweals%2Fmusl.git move dlclose out of dynlink.c to its own source file --- diff --git a/src/ldso/dlclose.c b/src/ldso/dlclose.c new file mode 100644 index 00000000..0ef22319 --- /dev/null +++ b/src/ldso/dlclose.c @@ -0,0 +1,9 @@ +#include + +__attribute__((__visibility__("hidden"))) +int __dl_invalid_handle(void *); + +int dlclose(void *p) +{ + return __dl_invalid_handle(p); +} diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index 4f857e5a..d2c5c3f6 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c @@ -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);