From 05e75260d6952308d7c865ff67c0e3678b7ba935 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 26 Jan 2006 22:04:19 +0000 Subject: Get rid of missing prototype warnings --- ldso/libdl/libdl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ldso/libdl') 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) { -- cgit v1.2.3