Module Name: src
Committed By: he
Date: Thu Mar 22 13:02:16 UTC 2012
Modified Files:
src/lib/csu/alpha: crt0.c
Log Message:
Convert to use c89 function declaration.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/csu/alpha/crt0.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/csu/alpha/crt0.c
diff -u src/lib/csu/alpha/crt0.c:1.26 src/lib/csu/alpha/crt0.c:1.27
--- src/lib/csu/alpha/crt0.c:1.26 Mon Mar 7 05:09:09 2011
+++ src/lib/csu/alpha/crt0.c Thu Mar 22 13:02:15 2012
@@ -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 @@ void __start __P((char **, void (*cleanu
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 @@ __start(sp, cleanup, obj, ps_strings)
* 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"