about summary refs log tree commit diff
path: root/dlfcn/modatexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn/modatexit.c')
-rw-r--r--dlfcn/modatexit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dlfcn/modatexit.c b/dlfcn/modatexit.c
index e620d10c70..95c18dcbac 100644
--- a/dlfcn/modatexit.c
+++ b/dlfcn/modatexit.c
@@ -35,9 +35,7 @@ dummy (void)
 void
 foo (void *p)
 {
-  extern void *__dso_handle __attribute__ ((__weak__));
   printf ("This is %s\n", __FUNCTION__);
   atexit (dummy);
-  if (&__dso_handle) puts ("have dso handle"); else puts ("no dso handle");
   ip = p;
 }