summaryrefslogtreecommitdiff
path: root/ldso/libdl/libdl.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-08 15:50:07 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-08 15:50:07 +0000
commitf0f4b35394fd1ecf15e2b7172ef0a313eb258d2d (patch)
tree4685a2a9c8f3b9a7736b5044880c805fda3a191d /ldso/libdl/libdl.c
parentaa56640260a009b1fed520c1e05ed300b7a37571 (diff)
Move destructor attribute tag
Diffstat (limited to 'ldso/libdl/libdl.c')
-rw-r--r--ldso/libdl/libdl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 2ae9d3487..3c1eab43a 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.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;