summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/cris/crt0.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/cris/crt0.c')
-rw-r--r--libc/sysdeps/linux/cris/crt0.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/cris/crt0.c b/libc/sysdeps/linux/cris/crt0.c
index 442a1c9ec..668ded1f8 100644
--- a/libc/sysdeps/linux/cris/crt0.c
+++ b/libc/sysdeps/linux/cris/crt0.c
@@ -3,12 +3,14 @@
/* The first piece of initialized data. */
int __data_start = 0;
+static void start1 (int argc, char **argv) __attribute__ ((used, noreturn));
+
/*
* It is important that this be the first function.
* This file is the first thing in the text section.
*/
void
-_start ()
+_start (void)
{
/*
* On the stack we have argc. We can calculate argv/envp