Mercurial > emacs
changeset 109148:7347cd00da53
* src/ecrt0.c: Revert conversion to standard C.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Mon, 05 Jul 2010 19:22:54 -0700 |
parents | 783986775ee8 |
children | 5833ef142374 |
files | src/ChangeLog src/ecrt0.c |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Mon Jul 05 13:54:13 2010 -0400 +++ b/src/ChangeLog Mon Jul 05 19:22:54 2010 -0700 @@ -1,3 +1,7 @@ +2010-07-06 Dan Nicolaescu <dann@ics.uci.edu> + + * ecrt0.c: Revert conversion to standard C. + 2010-07-05 Dan Nicolaescu <dann@ics.uci.edu> * vm-limit.c (memory_warnings):
--- a/src/ecrt0.c Mon Jul 05 13:54:13 2010 -0400 +++ b/src/ecrt0.c Mon Jul 05 19:22:54 2010 -0700 @@ -61,21 +61,23 @@ 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;