summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/crt0.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/m68k/crt0.c')
-rw-r--r--libc/sysdeps/linux/m68k/crt0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/m68k/crt0.c b/libc/sysdeps/linux/m68k/crt0.c
index 0af108f1e..791b7349b 100644
--- a/libc/sysdeps/linux/m68k/crt0.c
+++ b/libc/sysdeps/linux/m68k/crt0.c
@@ -32,6 +32,7 @@ void _start(unsigned int first_arg)
argc = *(stack - 1);
argv = (char **) stack;
envp = (char **)stack + argc + 1;
+ volatile void (*mainp)(int argc,void *argv,void *envp) = main;
__uClibc_main(argc, argv, envp);
}