WARNSify (not yet tested on all platforms yet)
This commit is contained in:
parent
ae6b9c674a
commit
6fffd559bd
@ -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;
|
||||
|
@ -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 <sys/cdefs.h>
|
||||
#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 <sys/param.h>
|
||||
@ -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
|
||||
|
@ -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 <sys/cdefs.h>
|
||||
#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 <sys/param.h>
|
||||
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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 <sys/cdefs.h>
|
||||
#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 <sys/param.h>
|
||||
|
@ -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;
|
||||
|
@ -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 <sys/cdefs.h>
|
||||
#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 <sys/param.h>
|
||||
|
@ -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 <sys/cdefs.h>
|
||||
#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 <sys/param.h>
|
||||
|
Loading…
Reference in New Issue
Block a user