From 69e24e34c43f022dc2c21a4374e043790b27c6ac Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Mon, 5 Jul 2010 19:22:54 -0700 Subject: [PATCH] * src/ecrt0.c: Revert conversion to standard C. --- src/ChangeLog | 4 ++++ src/ecrt0.c | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 7071c62b491..bdde8339b50 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-07-06 Dan Nicolaescu + + * ecrt0.c: Revert conversion to standard C. + 2010-07-05 Dan Nicolaescu * vm-limit.c (memory_warnings): diff --git a/src/ecrt0.c b/src/ecrt0.c index 98aac151862..458771319c7 100644 --- a/src/ecrt0.c +++ b/src/ecrt0.c @@ -61,21 +61,23 @@ int data_start = 0; char **environ; -static start1 (int bogus_fp, int argc, char *xargv); +static start1 (); /* Define symbol "start": here; some systems want that symbol. */ asm(" .text "); asm(" .globl start "); asm(" start: "); -_start (void) +_start () { /* On vax, nothing is pushed here */ start1 (); } static -start1 (int bogus_fp, int argc, char *xargv) +start1 (bogus_fp, argc, xargv) + int argc; + char *xargv; { register char **argv = &xargv; environ = argv + argc + 1; -- 2.39.2