summaryrefslogtreecommitdiff
path: root/dlfcn/modstatic2.c
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn/modstatic2.c')
-rw-r--r--dlfcn/modstatic2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dlfcn/modstatic2.c b/dlfcn/modstatic2.c
index 0703de851c..9b5aae8b9f 100644
--- a/dlfcn/modstatic2.c
+++ b/dlfcn/modstatic2.c
@@ -117,13 +117,11 @@ test (FILE *out, int a)
exit (1);
}
-#ifdef DO_VERSIONING
if (dlvsym (handle2, "_dlfcn_hook", "GLIBC_PRIVATE") == NULL)
{
fprintf (out, "dlvsym: %s\n", dlerror ());
exit (1);
}
-#endif
void *(*dlsymfn) (void *, const char *);
dlsymfn = dlsym (handle2, "dlsym");