Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/dev Remove the unused global variable "baud" ...



details:   https://anonhg.NetBSD.org/src/rev/c035f937c8e9
branches:  trunk
changeset: 581738:c035f937c8e9
user:      he <he%NetBSD.org@localhost>
date:      Sat Jun 04 14:31:15 2005 +0000

description:
Remove the unused global variable "baud" because it is causing
shadowing warnings.

diffstat:

 sys/arch/atari/dev/ser.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r f0506e67342a -r c035f937c8e9 sys/arch/atari/dev/ser.c
--- a/sys/arch/atari/dev/ser.c  Sat Jun 04 14:30:10 2005 +0000
+++ b/sys/arch/atari/dev/ser.c  Sat Jun 04 14:31:15 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ser.c,v 1.24 2005/02/11 06:21:21 simonb Exp $  */
+/*     $NetBSD: ser.c,v 1.25 2005/06/04 14:31:15 he Exp $      */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -100,7 +100,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.24 2005/02/11 06:21:21 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.25 2005/06/04 14:31:15 he Exp $");
 
 #include "opt_ddb.h"
 #include "opt_mbtype.h"
@@ -229,7 +229,6 @@
 int    serhwiflow __P((struct tty *, int));
 void   serinit __P((int));
 void   serinitcons __P((int));
-int    baud;
 int    sermintr __P((void *));
 int    sertrintr __P((void *));
 int    serparam __P((struct tty *, struct termios *));



Home | Main Index | Thread Index | Old Index