diff --git a/lib/csu/alpha/crt0.c b/lib/csu/alpha/crt0.c index c8bdf303b526..0c00b6278cd9 100644 --- a/lib/csu/alpha/crt0.c +++ b/lib/csu/alpha/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.7 1997/05/17 16:19:49 mycroft Exp $ */ +/* $NetBSD: crt0.c,v 1.8 1997/10/09 12:29:21 lukem Exp $ */ /* * Copyright (c) 1995 Christopher G. Demetriou @@ -96,6 +96,9 @@ extern void _mcleanup __P((void)); extern unsigned char _etext, _eprol; #endif /* MCRT0 */ +void __start __P((char **, void (*cleanup) __P((void)), const Obj_Entry *, + struct ps_strings *)); + void __start(sp, cleanup, obj, ps_strings) char **sp; diff --git a/lib/csu/i386/crt0.c b/lib/csu/i386/crt0.c index 84f50ef86f1d..d0705b916681 100644 --- a/lib/csu/i386/crt0.c +++ b/lib/csu/i386/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.26 1997/10/09 07:07:14 lukem Exp $ */ +/* $NetBSD: crt0.c,v 1.27 1997/10/09 12:29:24 lukem Exp $ */ /* * Copyright (c) 1996 Charles M. Hannum. All rights reserved. @@ -34,7 +34,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: crt0.c,v 1.26 1997/10/09 07:07:14 lukem Exp $"); +__RCSID("$NetBSD: crt0.c,v 1.27 1997/10/09 12:29:24 lukem Exp $"); #endif /* LIBC_SCCS and not lint */ #include @@ -46,7 +46,7 @@ __RCSID("$NetBSD: crt0.c,v 1.26 1997/10/09 07:07:14 lukem Exp $"); extern unsigned char etext; extern unsigned char eprol asm("eprol"); extern void start __P((void)) asm("start"); - void __start __P((int, char *[], char *[])); + void __start __P((int, char *[], char *[])); __asm(" .text diff --git a/lib/csu/m68k/crt0.c b/lib/csu/m68k/crt0.c index 67a6ea6ef04a..e6bb70c6343a 100644 --- a/lib/csu/m68k/crt0.c +++ b/lib/csu/m68k/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.16 1996/12/08 00:39:42 thorpej Exp $ */ +/* $NetBSD: crt0.c,v 1.17 1997/10/09 12:29:26 lukem Exp $ */ /* * Copyright (c) 1996 Charles M. Hannum. All rights reserved. @@ -31,9 +31,9 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - +#include #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$NetBSD: crt0.c,v 1.16 1996/12/08 00:39:42 thorpej Exp $"; +__RCSID("$NetBSD: crt0.c,v 1.17 1997/10/09 12:29:26 lukem Exp $"); #endif /* LIBC_SCCS and not lint */ #include @@ -42,9 +42,10 @@ static char rcsid[] = "$NetBSD: crt0.c,v 1.16 1996/12/08 00:39:42 thorpej Exp $" #include "common.h" -extern unsigned char etext; -extern unsigned char eprol asm("eprol"); -extern void start __P((void)) asm("start"); +extern unsigned char etext; +extern unsigned char eprol asm("eprol"); +extern void start __P((void)) asm("start"); + void __start __P((int, char *[], char *[])); __asm(" .text diff --git a/lib/csu/mips/crt0.c b/lib/csu/mips/crt0.c index 918d1e2001ee..a4c158dfef24 100644 --- a/lib/csu/mips/crt0.c +++ b/lib/csu/mips/crt0.c @@ -113,6 +113,9 @@ extern unsigned char _etext, _eprol; * as well as the usual registers (pc, sp, and t9 == pc for ABI). */ +void __start __P((u_long, void (*) __P((void)), const Obj_Entry *, + struct ps_strings *)); + void __start(sp, cleanup, obj, ps_strings) register u_long sp; diff --git a/lib/csu/ns32k/crt0.c b/lib/csu/ns32k/crt0.c index ef5fa969e3f7..bf761d390576 100644 --- a/lib/csu/ns32k/crt0.c +++ b/lib/csu/ns32k/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.9 1996/12/27 08:30:13 matthias Exp $ */ +/* $NetBSD: crt0.c,v 1.10 1997/10/09 12:29:32 lukem Exp $ */ /* * Copyright (c) 1993 Paul Kranenburg @@ -30,8 +30,9 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$NetBSD: crt0.c,v 1.9 1996/12/27 08:30:13 matthias Exp $"; +__RCSID("$NetBSD: crt0.c,v 1.10 1997/10/09 12:29:32 lukem Exp $"); #endif /* LIBC_SCCS and not lint */ #include diff --git a/lib/csu/powerpc/crt0.c b/lib/csu/powerpc/crt0.c index f58bbc418951..b36d4a5231b0 100644 --- a/lib/csu/powerpc/crt0.c +++ b/lib/csu/powerpc/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.4 1997/05/17 16:19:50 mycroft Exp $ */ +/* $NetBSD: crt0.c,v 1.5 1997/10/09 12:29:34 lukem Exp $ */ /* * Copyright (c) 1995 Christopher G. Demetriou @@ -102,6 +102,9 @@ extern unsigned char _etext, _eprol; * First 5 arguments are specified by the PowerPC SVR4 ABI. The * last argument, ps_strings, is a NetBSD extension. */ +void _start __P((int, char **, char **, const Obj_Entry *, + void (*) __P((void)), struct ps_strings *)); + void _start(argc, argv, envp, obj, cleanup, ps_strings) int argc; diff --git a/lib/csu/sparc/crt0.c b/lib/csu/sparc/crt0.c index 76f166381c7c..f443cec44e1b 100644 --- a/lib/csu/sparc/crt0.c +++ b/lib/csu/sparc/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.18 1996/12/27 21:44:59 pk Exp $ */ +/* $NetBSD: crt0.c,v 1.19 1997/10/09 12:29:37 lukem Exp $ */ /* * Copyright (c) 1993 Paul Kranenburg @@ -31,8 +31,9 @@ */ +#include #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$NetBSD: crt0.c,v 1.18 1996/12/27 21:44:59 pk Exp $"; +__RCSID("$NetBSD: crt0.c,v 1.19 1997/10/09 12:29:37 lukem Exp $"); #endif /* LIBC_SCCS and not lint */ #include diff --git a/lib/csu/vax/crt0.c b/lib/csu/vax/crt0.c index 1fa06f883755..f0a912f05366 100644 --- a/lib/csu/vax/crt0.c +++ b/lib/csu/vax/crt0.c @@ -1,4 +1,4 @@ -/* $NetBSD: crt0.c,v 1.3 1996/10/18 05:37:00 thorpej Exp $ */ +/* $NetBSD: crt0.c,v 1.4 1997/10/09 12:29:39 lukem Exp $ */ /* * Copyright (c) 1993 Paul Kranenburg @@ -30,9 +30,9 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - +#include #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$NetBSD: crt0.c,v 1.3 1996/10/18 05:37:00 thorpej Exp $"; +__RCSID("$NetBSD: crt0.c,v 1.4 1997/10/09 12:29:39 lukem Exp $"); #endif /* LIBC_SCCS and not lint */ #include