about summary refs log tree commit diff
path: root/src/ldso/dlclose.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldso/dlclose.c')
-rw-r--r--src/ldso/dlclose.c9
1 files changed, 9 insertions, 0 deletions
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 <dlfcn.h>
+
+__attribute__((__visibility__("hidden")))
+int __dl_invalid_handle(void *);
+
+int dlclose(void *p)
+{
+	return __dl_invalid_handle(p);
+}