From: Dan Nicolaescu Date: Tue, 6 Jul 2010 02:22:54 +0000 (-0700) Subject: * src/ecrt0.c: Revert conversion to standard C. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~51^2~81^2~23 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=69e24e34c43f022dc2c21a4374e043790b27c6ac;p=emacs.git * src/ecrt0.c: Revert conversion to standard C. --- 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;