Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/alpha Convert to use c89 function declaration.



details:   https://anonhg.NetBSD.org/src/rev/2c435d8f39ae
branches:  trunk
changeset: 778328:2c435d8f39ae
user:      he <he%NetBSD.org@localhost>
date:      Thu Mar 22 13:02:15 2012 +0000

description:
Convert to use c89 function declaration.

diffstat:

 lib/csu/alpha/crt0.c |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (32 lines):

diff -r 001f06c80a77 -r 2c435d8f39ae lib/csu/alpha/crt0.c
--- a/lib/csu/alpha/crt0.c      Thu Mar 22 12:59:33 2012 +0000
+++ b/lib/csu/alpha/crt0.c      Thu Mar 22 13:02:15 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.26 2011/03/07 05:09:09 joerg Exp $ */
+/* $NetBSD: crt0.c,v 1.27 2012/03/22 13:02:15 he Exp $ */
 
 /*
  * Copyright (c) 1995 Christopher G. Demetriou
@@ -40,11 +40,8 @@
                struct ps_strings *));
 
 void
-__start(sp, cleanup, obj, ps_strings)
-       char **sp;
-       void (*cleanup) __P((void));            /* from shared loader */
-       const Obj_Entry *obj;                   /* from shared loader */
-       struct ps_strings *ps_strings;
+__start(char **sp, void (*cleanup)(void), 
+       const Obj_Entry *obj, struct ps_strings *ps_strings)
 {
        long argc;
        char **argv, *namep;
@@ -86,7 +83,7 @@
  * NOTE: Leave the RCS ID _after_ __start(), in case it gets placed in .text.
  */
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.26 2011/03/07 05:09:09 joerg Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.27 2012/03/22 13:02:15 he Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "common.c"



Home | Main Index | Thread Index | Old Index