Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Remove unused extern declaration of constty.



details:   https://anonhg.NetBSD.org/src/rev/1487aa151da9
branches:  trunk
changeset: 371733:1487aa151da9
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Oct 04 07:24:32 2022 +0000

description:
Remove unused extern declaration of constty.

diffstat:

 sys/arch/amiga/dev/ser.c   |  6 ++----
 sys/arch/sgimips/dev/scn.c |  6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diffs (54 lines):

diff -r 546945da8beb -r 1487aa151da9 sys/arch/amiga/dev/ser.c
--- a/sys/arch/amiga/dev/ser.c  Tue Oct 04 07:06:31 2022 +0000
+++ b/sys/arch/amiga/dev/ser.c  Tue Oct 04 07:24:32 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ser.c,v 1.84 2021/10/21 13:21:54 andvar Exp $ */
+/*     $NetBSD: ser.c,v 1.85 2022/10/04 07:24:32 rin Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -40,7 +40,7 @@
 #include "opt_kgdb.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.84 2021/10/21 13:21:54 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.85 2022/10/04 07:24:32 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -176,8 +176,6 @@
 
 u_char last_ciab_pra;
 
-extern struct tty *constty;
-
 extern int ser_open_speed;     /* current speed of open serial device */
 
 #ifdef KGDB
diff -r 546945da8beb -r 1487aa151da9 sys/arch/sgimips/dev/scn.c
--- a/sys/arch/sgimips/dev/scn.c        Tue Oct 04 07:06:31 2022 +0000
+++ b/sys/arch/sgimips/dev/scn.c        Tue Oct 04 07:24:32 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scn.c,v 1.8 2015/04/04 14:12:40 macallan Exp $ */
+/*     $NetBSD: scn.c,v 1.9 2022/10/04 07:24:32 rin Exp $ */
 
 /*
  * Resurrected from the old pc532 port 1/18/2009.
@@ -92,7 +92,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scn.c,v 1.8 2015/04/04 14:12:40 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scn.c,v 1.9 2022/10/04 07:24:32 rin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -378,8 +378,6 @@
 #define DEV_UNIT(x)    (minor(x) & 0x7)
 #define DEV_DIALOUT(x) (minor(x) & 0x80)
 
-extern struct tty *constty;
-
 #define SCN_MAXDUART 4
 static struct duart scn_duart[SCN_MAXDUART];
 



Home | Main Index | Thread Index | Old Index