summaryrefslogtreecommitdiff
path: root/src/ecrt0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ecrt0.c')
-rw-r--r--src/ecrt0.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ecrt0.c b/src/ecrt0.c
index 458771319c7..98aac151862 100644
--- a/src/ecrt0.c
+++ b/src/ecrt0.c
@@ -61,23 +61,21 @@ int data_start = 0;
char **environ;
-static start1 ();
+static start1 (int bogus_fp, int argc, char *xargv);
/* Define symbol "start": here; some systems want that symbol. */
asm(" .text ");
asm(" .globl start ");
asm(" start: ");
-_start ()
+_start (void)
{
/* On vax, nothing is pushed here */
start1 ();
}
static
-start1 (bogus_fp, argc, xargv)
- int argc;
- char *xargv;
+start1 (int bogus_fp, int argc, char *xargv)
{
register char **argv = &xargv;
environ = argv + argc + 1;