diff options
Diffstat (limited to 'dlfcn/modcxaatexit.c')
-rw-r--r-- | dlfcn/modcxaatexit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dlfcn/modcxaatexit.c b/dlfcn/modcxaatexit.c index 3401de6bcd..d72ce9860b 100644 --- a/dlfcn/modcxaatexit.c +++ b/dlfcn/modcxaatexit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2016 Free Software Foundation, Inc. +/* Copyright (C) 2001-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -17,6 +17,7 @@ #include <stdio.h> #include <stdlib.h> +#include <dso_handle.h> extern void fluffy (void *p); extern void bar (void *p); @@ -34,7 +35,6 @@ fluffy (void *p) void bar (void *p) { - extern void *__dso_handle; printf ("This is %s\n", __FUNCTION__); __cxa_atexit (fluffy, p, __dso_handle); } |