summaryrefslogtreecommitdiff
path: root/ldso/libdl
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:04:19 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:04:19 +0000
commit05e75260d6952308d7c865ff67c0e3678b7ba935 (patch)
treeac1a5d0ab7904783917b52ffa5489e8367743ff7 /ldso/libdl
parent2fec342738cefe71910e8e8ab8636accfc5867bc (diff)
Get rid of missing prototype warnings
Diffstat (limited to 'ldso/libdl')
-rw-r--r--ldso/libdl/libdl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 37b1c3abd..5c542e8ad 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -125,7 +125,8 @@ static const char *dl_error_names[] = {
"Unable to resolve symbol"
};
-void __attribute__ ((destructor)) dl_cleanup(void)
+void dl_cleanup(void) __attribute__ ((destructor));
+void dl_cleanup(void)
{
struct dyn_elf *d;
for (d = _dl_handles; d; d = d->next_handle) {