summaryrefslogtreecommitdiff
path: root/ldso/libdl/dlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/libdl/dlib.c')
-rw-r--r--ldso/libdl/dlib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ldso/libdl/dlib.c b/ldso/libdl/dlib.c
index 2ae9d3487..3c1eab43a 100644
--- a/ldso/libdl/dlib.c
+++ b/ldso/libdl/dlib.c
@@ -85,9 +85,7 @@ static const char *dl_error_names[] = {
"Unable to resolve symbol"
};
-static void dl_cleanup(void) __attribute__ ((destructor));
-
-static void dl_cleanup(void)
+static void __attribute__ ((destructor)) dl_cleanup(void)
{
struct dyn_elf *d;