$NetBSD$

--- te_chario.c.orig	2006-01-04 21:01:15.000000000 +0000
+++ te_chario.c
@@ -101,7 +101,6 @@ char ldbuf[TTNAMEMAX];
 setup_tty(arg)
 	int arg;
 {
-	extern int errno;
 	int ioerr;
 	struct sgttyb tmpbuf;
 
@@ -186,7 +185,6 @@ setup_tty(arg)
 setup_tty(arg)
 int arg;
 {
-	extern int errno;
 	int ioerr;
 	struct termios tmpbuf;
 
