summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:19:01 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:19:01 +0000
commit1466eb283c8eee992835f66433c43fd4d31e92bc (patch)
treebc21098e1d0ecf904e232eefc86bb4380247da09 /libc/misc
parent05e75260d6952308d7c865ff67c0e3678b7ba935 (diff)
Some more prototypes, enable missing-prototypes/declarations warnings for now
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/internals/__uClibc_main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index e4e0225e8..32071c50c 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -221,8 +221,10 @@ void attribute_hidden (*__rtld_fini)(void) = NULL;
* called from crt1 (version 0.9.28 or newer), after ALL shared libraries
* are initialized, just before we call the application's main function.
*/
-void attribute_noreturn
-__uClibc_main(int (*main)(int, char **, char **), int argc,
+void __uClibc_main(int (*main)(int, char **, char **), int argc,
+ char **argv, void (*app_init)(void), void (*app_fini)(void),
+ void (*rtld_fini)(void), void *stack_end) attribute_noreturn;
+void __uClibc_main(int (*main)(int, char **, char **), int argc,
char **argv, void (*app_init)(void), void (*app_fini)(void),
void (*rtld_fini)(void), void *stack_end)
{