Module Name: src Committed By: tsutsui Date: Sun Dec 11 06:20:08 UTC 2022
Modified Files: src/sys/arch/hp300/stand/common: samachdep.h src/sys/arch/hp300/stand/inst: inst.c src/sys/arch/hp300/stand/uboot: uboot.c Log Message: Cleanup extern declarations. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/hp300/stand/common/samachdep.h cvs rdiff -u -r1.23 -r1.24 src/sys/arch/hp300/stand/inst/inst.c cvs rdiff -u -r1.17 -r1.18 src/sys/arch/hp300/stand/uboot/uboot.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/hp300/stand/common/samachdep.h diff -u src/sys/arch/hp300/stand/common/samachdep.h:1.20 src/sys/arch/hp300/stand/common/samachdep.h:1.21 --- src/sys/arch/hp300/stand/common/samachdep.h:1.20 Sat Jun 11 06:22:11 2016 +++ src/sys/arch/hp300/stand/common/samachdep.h Sun Dec 11 06:20:07 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: samachdep.h,v 1.20 2016/06/11 06:22:11 dholland Exp $ */ +/* $NetBSD: samachdep.h,v 1.21 2022/12/11 06:20:07 tsutsui Exp $ */ /* * Copyright (c) 1982, 1990, 1993 @@ -68,6 +68,7 @@ int sctoaddr(int); /* cons.c */ extern int cons_scode; +extern int noconsole; void cninit(void); int cngetc(void); int cnputc(int); @@ -85,6 +86,9 @@ void romputchar(int); void transfer(char *, int, int, int, char *, char *); int trap(struct trapframe *); +/* netio.c */ +extern int netio_ask; + /* prf.c */ int tgetchar(void); @@ -92,6 +96,7 @@ int tgetchar(void); extern u_int bootdev; extern int machineid, mmuid; extern int howto; +extern char *lowram; int badaddr(void *); void call_req_reboot(void); void romout(int, char *); Index: src/sys/arch/hp300/stand/inst/inst.c diff -u src/sys/arch/hp300/stand/inst/inst.c:1.23 src/sys/arch/hp300/stand/inst/inst.c:1.24 --- src/sys/arch/hp300/stand/inst/inst.c:1.23 Tue Sep 4 15:08:30 2018 +++ src/sys/arch/hp300/stand/inst/inst.c Sun Dec 11 06:20:07 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: inst.c,v 1.23 2018/09/04 15:08:30 riastradh Exp $ */ +/* $NetBSD: inst.c,v 1.24 2022/12/11 06:20:07 tsutsui Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -78,11 +78,6 @@ char line[100]; -extern u_int opendev; -extern char *lowram; -extern int noconsole; -extern int netio_ask; - char *kernel_name = "/netbsd"; void main(void); Index: src/sys/arch/hp300/stand/uboot/uboot.c diff -u src/sys/arch/hp300/stand/uboot/uboot.c:1.17 src/sys/arch/hp300/stand/uboot/uboot.c:1.18 --- src/sys/arch/hp300/stand/uboot/uboot.c:1.17 Sat Jun 11 06:22:11 2016 +++ src/sys/arch/hp300/stand/uboot/uboot.c Sun Dec 11 06:20:08 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: uboot.c,v 1.17 2016/06/11 06:22:11 dholland Exp $ */ +/* $NetBSD: uboot.c,v 1.18 2022/12/11 06:20:08 tsutsui Exp $ */ /*- * Copyright (c) 1982, 1986, 1990, 1993 @@ -47,10 +47,6 @@ char line[100]; -extern u_int opendev; -extern char *lowram; -extern int noconsole; - /* * XXX UFS accepts a /, NFS doesn't. */