Module Name:    src
Committed By:   rin
Date:           Tue Oct  4 07:24:32 UTC 2022

Modified Files:
        src/sys/arch/amiga/dev: ser.c
        src/sys/arch/sgimips/dev: scn.c

Log Message:
Remove unused extern declaration of constty.


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/amiga/dev/ser.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sgimips/dev/scn.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/amiga/dev/ser.c
diff -u src/sys/arch/amiga/dev/ser.c:1.84 src/sys/arch/amiga/dev/ser.c:1.85
--- src/sys/arch/amiga/dev/ser.c:1.84	Thu Oct 21 13:21:54 2021
+++ src/sys/arch/amiga/dev/ser.c	Tue Oct  4 07:24:32 2022
@@ -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	even_parity[] = {
 
 u_char	last_ciab_pra;
 
-extern struct tty *constty;
-
 extern int ser_open_speed;	/* current speed of open serial device */
 
 #ifdef KGDB

Index: src/sys/arch/sgimips/dev/scn.c
diff -u src/sys/arch/sgimips/dev/scn.c:1.8 src/sys/arch/sgimips/dev/scn.c:1.9
--- src/sys/arch/sgimips/dev/scn.c:1.8	Sat Apr  4 14:12:40 2015
+++ src/sys/arch/sgimips/dev/scn.c	Tue Oct  4 07:24:32 2022
@@ -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 @@ const struct {
 #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];
 

Reply via email to