Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun68k/stand exit() is now declared in libsa's stan...
details: https://anonhg.NetBSD.org/src/rev/5122c2ab9d1e
branches: trunk
changeset: 532230:5122c2ab9d1e
user: fredette <fredette%NetBSD.org@localhost>
date: Mon Jun 03 00:18:26 2002 +0000
description:
exit() is now declared in libsa's stand.h, and takes an int.
diffstat:
sys/arch/sun68k/stand/bootxx/panic_putstr.c | 4 ++--
sys/arch/sun68k/stand/libsa/SRT1.c | 6 +++---
sys/arch/sun68k/stand/libsa/libsa.h | 3 +--
sys/arch/sun68k/stand/libsa/panic.c | 4 ++--
4 files changed, 8 insertions(+), 9 deletions(-)
diffs (76 lines):
diff -r 3b545e95565d -r 5122c2ab9d1e sys/arch/sun68k/stand/bootxx/panic_putstr.c
--- a/sys/arch/sun68k/stand/bootxx/panic_putstr.c Sun Jun 02 23:46:49 2002 +0000
+++ b/sys/arch/sun68k/stand/bootxx/panic_putstr.c Mon Jun 03 00:18:26 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: panic_putstr.c,v 1.1 2002/05/15 04:07:42 lukem Exp $ */
+/* $NetBSD: panic_putstr.c,v 1.2 2002/06/03 00:18:26 fredette Exp $ */
#include <machine/stdarg.h>
@@ -14,5 +14,5 @@
putchar('\n');
breakpoint();
- exit();
+ exit(0);
}
diff -r 3b545e95565d -r 5122c2ab9d1e sys/arch/sun68k/stand/libsa/SRT1.c
--- a/sys/arch/sun68k/stand/libsa/SRT1.c Sun Jun 02 23:46:49 2002 +0000
+++ b/sys/arch/sun68k/stand/libsa/SRT1.c Mon Jun 03 00:18:26 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: SRT1.c,v 1.1 2001/06/14 12:57:13 fredette Exp $ */
+/* $NetBSD: SRT1.c,v 1.2 2002/06/03 00:18:27 fredette Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -103,7 +103,7 @@
sun3_init();
main(0);
- exit();
+ exit(0);
}
void
@@ -123,7 +123,7 @@
*/
chain_to_func = func;
ICIA();
- exit();
+ exit(0);
}
/*
diff -r 3b545e95565d -r 5122c2ab9d1e sys/arch/sun68k/stand/libsa/libsa.h
--- a/sys/arch/sun68k/stand/libsa/libsa.h Sun Jun 02 23:46:49 2002 +0000
+++ b/sys/arch/sun68k/stand/libsa/libsa.h Mon Jun 03 00:18:26 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: libsa.h,v 1.2 2001/12/15 23:02:34 fredette Exp $ */
+/* $NetBSD: libsa.h,v 1.3 2002/06/03 00:18:27 fredette Exp $ */
/*
* This file defines the API for libsa.a
@@ -13,7 +13,6 @@
#define KERN_LOADADDR 0x4000
/* SRT0.S */
-void exit __P((void));
void ICIA __P((void));
void ** getvbr __P((void));
diff -r 3b545e95565d -r 5122c2ab9d1e sys/arch/sun68k/stand/libsa/panic.c
--- a/sys/arch/sun68k/stand/libsa/panic.c Sun Jun 02 23:46:49 2002 +0000
+++ b/sys/arch/sun68k/stand/libsa/panic.c Mon Jun 03 00:18:26 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: panic.c,v 1.2 2002/05/15 04:07:43 lukem Exp $ */
+/* $NetBSD: panic.c,v 1.3 2002/06/03 00:18:27 fredette Exp $ */
#include <machine/stdarg.h>
@@ -15,5 +15,5 @@
putchar('\n');
va_end(ap);
breakpoint();
- exit();
+ exit(0);
}
Home |
Main Index |
Thread Index |
Old Index