From 6a949cddfbc09e64496f1dfe0f2dae4329a00c44 Mon Sep 17 00:00:00 2001 From: simonb Date: Tue, 8 Jun 1999 23:42:36 +0000 Subject: [PATCH] Include instead of declaring our own prom_*() prototypes. --- sys/arch/pmax/dev/findcons.c | 6 +++--- sys/arch/pmax/pmax/dec_3maxplus.c | 6 +++--- sys/arch/pmax/pmax/dec_3min.c | 6 +++--- sys/arch/pmax/pmax/dec_5100.c | 4 ++-- sys/arch/pmax/pmax/dec_maxine.c | 6 +++--- sys/arch/pmax/pmax/machdep.c | 7 +++---- 6 files changed, 17 insertions(+), 18 deletions(-) diff --git a/sys/arch/pmax/dev/findcons.c b/sys/arch/pmax/dev/findcons.c index 02fe24f91164..2bd5cb2507af 100644 --- a/sys/arch/pmax/dev/findcons.c +++ b/sys/arch/pmax/dev/findcons.c @@ -1,4 +1,4 @@ -/* $NetBSD: findcons.c,v 1.12 1999/05/11 05:15:54 nisimura Exp $ */ +/* $NetBSD: findcons.c,v 1.13 1999/06/08 23:42:36 simonb Exp $ */ /* * Copyright (c) 1998 Jonathan Stone @@ -34,7 +34,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: findcons.c,v 1.12 1999/05/11 05:15:54 nisimura Exp $$"); +__KERNEL_RCSID(0, "$NetBSD: findcons.c,v 1.13 1999/06/08 23:42:36 simonb Exp $$"); #include #include @@ -43,6 +43,7 @@ __KERNEL_RCSID(0, "$NetBSD: findcons.c,v 1.12 1999/05/11 05:15:54 nisimura Exp $ #include #include +#include /* * Default consdev, for errors or warnings before @@ -153,7 +154,6 @@ int find_screen __P((int prom_slot)); int find_serial __P((int prom_slot)); void consinit __P((void)); -extern void prom_findcons __P((int *, int *, int *)); extern struct consdev promcd; /* diff --git a/sys/arch/pmax/pmax/dec_3maxplus.c b/sys/arch/pmax/pmax/dec_3maxplus.c index 4884a2353b15..f083c139f0c7 100644 --- a/sys/arch/pmax/pmax/dec_3maxplus.c +++ b/sys/arch/pmax/pmax/dec_3maxplus.c @@ -1,4 +1,4 @@ -/* $NetBSD: dec_3maxplus.c,v 1.22 1999/05/29 09:31:02 nisimura Exp $ */ +/* $NetBSD: dec_3maxplus.c,v 1.23 1999/06/08 23:42:36 simonb Exp $ */ /* * Copyright (c) 1998 Jonathan Stone. All rights reserved. @@ -73,7 +73,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: dec_3maxplus.c,v 1.22 1999/05/29 09:31:02 nisimura Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dec_3maxplus.c,v 1.23 1999/06/08 23:42:36 simonb Exp $"); #include #include @@ -97,6 +97,7 @@ __KERNEL_RCSID(0, "$NetBSD: dec_3maxplus.c,v 1.22 1999/05/29 09:31:02 nisimura E #include #include #include +#include #include #include @@ -126,7 +127,6 @@ static unsigned latched_cycle_cnt; void kn03_wbflush __P((void)); unsigned kn03_clkread __P((void)); extern unsigned (*clkread) __P((void)); -extern void prom_haltbutton __P((void)); extern volatile struct chiptime *mcclock_addr; /* XXX */ extern char cpu_model[]; diff --git a/sys/arch/pmax/pmax/dec_3min.c b/sys/arch/pmax/pmax/dec_3min.c index 153df2874a0e..79c9824d2a15 100644 --- a/sys/arch/pmax/pmax/dec_3min.c +++ b/sys/arch/pmax/pmax/dec_3min.c @@ -1,4 +1,4 @@ -/* $NetBSD: dec_3min.c,v 1.19 1999/05/27 06:43:50 nisimura Exp $ */ +/* $NetBSD: dec_3min.c,v 1.20 1999/06/08 23:42:36 simonb Exp $ */ /* * Copyright (c) 1998 Jonathan Stone. All rights reserved. @@ -73,7 +73,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: dec_3min.c,v 1.19 1999/05/27 06:43:50 nisimura Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dec_3min.c,v 1.20 1999/06/08 23:42:36 simonb Exp $"); #include @@ -98,6 +98,7 @@ __KERNEL_RCSID(0, "$NetBSD: dec_3min.c,v 1.19 1999/05/27 06:43:50 nisimura Exp $ #include #include #include +#include #include /* 3min baseboard addresses */ #include /* 3min/maxine memory errors */ @@ -129,7 +130,6 @@ u_long kmin_tc3_imask; void kn02ba_wbflush __P((void)); unsigned kn02ba_clkread __P((void)); extern unsigned (*clkread) __P((void)); -extern void prom_haltbutton __P((void)); extern volatile struct chiptime *mcclock_addr; /* XXX */ extern char cpu_model[]; diff --git a/sys/arch/pmax/pmax/dec_5100.c b/sys/arch/pmax/pmax/dec_5100.c index b43403b4580f..7a6677ecb4e9 100644 --- a/sys/arch/pmax/pmax/dec_5100.c +++ b/sys/arch/pmax/pmax/dec_5100.c @@ -1,4 +1,4 @@ -/* $NetBSD: dec_5100.c,v 1.8 1999/05/26 04:23:59 nisimura Exp $ */ +/* $NetBSD: dec_5100.c,v 1.9 1999/06/08 23:42:36 simonb Exp $ */ /* * Copyright (c) 1998 Jonathan Stone. All rights reserved. @@ -56,6 +56,7 @@ #include #include #include +#include #include /* common definitions */ #include @@ -86,7 +87,6 @@ extern void kn230_wbflush __P((void)); extern unsigned nullclkread __P((void)); extern unsigned (*clkread) __P((void)); -extern void prom_haltbutton __P((void)); extern volatile struct chiptime *mcclock_addr; /* XXX */ extern char cpu_model[]; diff --git a/sys/arch/pmax/pmax/dec_maxine.c b/sys/arch/pmax/pmax/dec_maxine.c index d7b3e243f989..7f7d7fc0a5c0 100644 --- a/sys/arch/pmax/pmax/dec_maxine.c +++ b/sys/arch/pmax/pmax/dec_maxine.c @@ -1,4 +1,4 @@ -/* $NetBSD: dec_maxine.c,v 1.14 1999/05/26 04:23:59 nisimura Exp $ */ +/* $NetBSD: dec_maxine.c,v 1.15 1999/06/08 23:42:36 simonb Exp $ */ /* * Copyright (c) 1998 Jonathan Stone. All rights reserved. @@ -73,7 +73,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: dec_maxine.c,v 1.14 1999/05/26 04:23:59 nisimura Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dec_maxine.c,v 1.15 1999/06/08 23:42:36 simonb Exp $"); #include #include @@ -97,6 +97,7 @@ __KERNEL_RCSID(0, "$NetBSD: dec_maxine.c,v 1.14 1999/05/26 04:23:59 nisimura Exp #include #include #include +#include #include /* baseboard addresses (constants) */ #include /* 3min/maxine memory errors */ @@ -126,7 +127,6 @@ static unsigned latched_cycle_cnt; void kn02ca_wbflush __P((void)); unsigned kn02ca_clkread __P((void)); extern unsigned (*clkread) __P((void)); -extern void prom_haltbutton __P((void)); extern volatile struct chiptime *mcclock_addr; /* XXX */ extern char cpu_model[]; diff --git a/sys/arch/pmax/pmax/machdep.c b/sys/arch/pmax/pmax/machdep.c index 1d8a6c85b87e..a0d4e7a718f1 100644 --- a/sys/arch/pmax/pmax/machdep.c +++ b/sys/arch/pmax/pmax/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.146 1999/05/26 19:16:34 thorpej Exp $ */ +/* $NetBSD: machdep.c,v 1.147 1999/06/08 23:42:37 simonb Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -43,7 +43,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.146 1999/05/26 19:16:34 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.147 1999/06/08 23:42:37 simonb Exp $"); /* from: Utah Hdr: machdep.c 1.63 91/04/24 */ @@ -90,6 +90,7 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.146 1999/05/26 19:16:34 thorpej Exp $" #include #include #include +#include #ifdef DDB #include /* XXX backwards compatilbity for DDB */ @@ -133,8 +134,6 @@ void mach_init __P((int, char *[], int, int, u_int, char *)); unsigned (*clkread) __P((void)); /* high resolution timer if available */ unsigned nullclkread __P((void)); -void prom_halt __P((int, char *)) __attribute__((__noreturn__)); -int prom_systype __P((void)); int initcpu __P((void)); /* XXX XXX XXX */