Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/stand/common come a little closer to compilin...
details: https://anonhg.NetBSD.org/src/rev/665638b59b5c
branches: trunk
changeset: 471582:665638b59b5c
user: cgd <cgd%NetBSD.org@localhost>
date: Mon Apr 05 04:39:42 1999 +0000
description:
come a little closer to compiling with warnings turned on
diffstat:
sys/arch/alpha/stand/common/boot.c | 5 +++--
sys/arch/alpha/stand/common/bootxx.c | 6 +++---
2 files changed, 6 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r b7565878e6ae -r 665638b59b5c sys/arch/alpha/stand/common/boot.c
--- a/sys/arch/alpha/stand/common/boot.c Mon Apr 05 04:38:27 1999 +0000
+++ b/sys/arch/alpha/stand/common/boot.c Mon Apr 05 04:39:42 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot.c,v 1.17 1999/04/02 03:19:08 cgd Exp $ */
+/* $NetBSD: boot.c,v 1.18 1999/04/05 04:39:42 cgd Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -157,7 +157,8 @@
(void)printf("Entering %s at 0x%lx...\n", name, entry);
alpha_pal_imb();
- (*(void (*)())entry)(ffp_save, ptbr_save, BOOTINFO_MAGIC,
+ (*(void (*)(u_int64_t, u_int64_t, u_int64_t, void *, u_int64_t,
+ u_int64_t))entry)(ffp_save, ptbr_save, BOOTINFO_MAGIC,
&bootinfo_v1, 1, 0);
(void)printf("KERNEL RETURNED!\n");
diff -r b7565878e6ae -r 665638b59b5c sys/arch/alpha/stand/common/bootxx.c
--- a/sys/arch/alpha/stand/common/bootxx.c Mon Apr 05 04:38:27 1999 +0000
+++ b/sys/arch/alpha/stand/common/bootxx.c Mon Apr 05 04:39:42 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bootxx.c,v 1.1 1999/04/02 03:24:53 cgd Exp $ */
+/* $NetBSD: bootxx.c,v 1.2 1999/04/05 04:39:43 cgd Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@@ -83,10 +83,10 @@
#include "../common/common.h"
-extern void putstr __P((const char *)); /* XXX private, does not append '\n' */
+void main(void);
void
-main()
+main(void)
{
struct stat sb;
const char *reason;
Home |
Main Index |
Thread Index |
Old Index