Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hp300/stand Cleanup extern declarations.



details:   https://anonhg.NetBSD.org/src/rev/73ea191990d2
branches:  trunk
changeset: 372591:73ea191990d2
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Dec 11 06:20:07 2022 +0000

description:
Cleanup extern declarations.

diffstat:

 sys/arch/hp300/stand/common/samachdep.h |  7 ++++++-
 sys/arch/hp300/stand/inst/inst.c        |  7 +------
 sys/arch/hp300/stand/uboot/uboot.c      |  6 +-----
 3 files changed, 8 insertions(+), 12 deletions(-)

diffs (76 lines):

diff -r 6f6580876689 -r 73ea191990d2 sys/arch/hp300/stand/common/samachdep.h
--- a/sys/arch/hp300/stand/common/samachdep.h   Sun Dec 11 06:18:00 2022 +0000
+++ b/sys/arch/hp300/stand/common/samachdep.h   Sun Dec 11 06:20:07 2022 +0000
@@ -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 @@
 
 /* cons.c */
 extern int cons_scode;
+extern int noconsole;
 void cninit(void);
 int cngetc(void);
 int cnputc(int);
@@ -85,6 +86,9 @@
 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 @@
 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 *);
diff -r 6f6580876689 -r 73ea191990d2 sys/arch/hp300/stand/inst/inst.c
--- a/sys/arch/hp300/stand/inst/inst.c  Sun Dec 11 06:18:00 2022 +0000
+++ b/sys/arch/hp300/stand/inst/inst.c  Sun Dec 11 06:20:07 2022 +0000
@@ -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);
diff -r 6f6580876689 -r 73ea191990d2 sys/arch/hp300/stand/uboot/uboot.c
--- a/sys/arch/hp300/stand/uboot/uboot.c        Sun Dec 11 06:18:00 2022 +0000
+++ b/sys/arch/hp300/stand/uboot/uboot.c        Sun Dec 11 06:20:07 2022 +0000
@@ -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.
  */



Home | Main Index | Thread Index | Old Index