summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/cris/crt0.c
diff options
context:
space:
mode:
authorTobias Anderberg <tobias.anderberg@axis.com>2003-08-27 13:13:47 +0000
committerTobias Anderberg <tobias.anderberg@axis.com>2003-08-27 13:13:47 +0000
commit393352a70f29189d8eed9127bce386a88501a3c5 (patch)
tree9c5728c3c5365a73762f6cf9458849266da1b0d3 /libc/sysdeps/linux/cris/crt0.c
parent3928dcdff3d955cb2ed2608b2d328d1ad7e7d9d7 (diff)
Cosmetic changes.
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