summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-15 11:44:54 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-15 11:44:54 +0000
commit49a6aeba12c3099e1c34d55c224e670cabc153a1 (patch)
treeeaa24eb0d26bc8892906dfe7c499af6d806079f2
parent28d1fcf6a27fd4fad82cf33aaf0ca89808f5c0d0 (diff)
Add prototypes
-rw-r--r--ldso/ldso/ldso.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index ff8ab7d11..758a8d128 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -114,6 +114,7 @@ static void _dl_run_array_forward(unsigned long array, unsigned long size,
}
}
+void _dl_run_init_array(struct elf_resolve *tpnt);
void _dl_run_init_array(struct elf_resolve *tpnt)
{
_dl_run_array_forward(tpnt->dynamic_info[DT_INIT_ARRAY],
@@ -121,11 +122,13 @@ void _dl_run_init_array(struct elf_resolve *tpnt)
tpnt->loadaddr);
}
+void _dl_app_init_array(void);
void _dl_app_init_array(void)
{
_dl_run_init_array(_dl_loaded_modules);
}
+void _dl_run_fini_array(struct elf_resolve *tpnt);
void _dl_run_fini_array(struct elf_resolve *tpnt)
{
if (tpnt->dynamic_info[DT_FINI_ARRAY]) {
@@ -139,6 +142,7 @@ void _dl_run_fini_array(struct elf_resolve *tpnt)
}
}
+void _dl_app_fini_array(void);
void _dl_app_fini_array(void)
{
_dl_run_fini_array(_dl_loaded_modules);