Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Fix some white-space niggles.



details:   https://anonhg.NetBSD.org/src/rev/5bb180819250
branches:  trunk
changeset: 544182:5bb180819250
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Mar 14 02:21:01 2003 +0000

description:
Fix some white-space niggles.

diffstat:

 sys/dev/ic/com.c |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r 850d31ae624f -r 5bb180819250 sys/dev/ic/com.c
--- a/sys/dev/ic/com.c  Thu Mar 13 20:49:11 2003 +0000
+++ b/sys/dev/ic/com.c  Fri Mar 14 02:21:01 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: com.c,v 1.203 2003/03/06 00:38:27 matt Exp $   */
+/*     $NetBSD: com.c,v 1.204 2003/03/14 02:21:01 simonb Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.203 2003/03/06 00:38:27 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.204 2003/03/14 02:21:01 simonb Exp $");
 
 #include "opt_com.h"
 #include "opt_ddb.h"
@@ -155,8 +155,8 @@
 int    com_common_getc(dev_t, bus_space_tag_t, bus_space_handle_t);
 void   com_common_putc(dev_t, bus_space_tag_t, bus_space_handle_t, int);
 
-int cominit(bus_space_tag_t, bus_addr_t, int, int, tcflag_t,
-                            bus_space_handle_t *);
+int    cominit(bus_space_tag_t, bus_addr_t, int, int, tcflag_t,
+           bus_space_handle_t *);
 
 int    comcngetc(dev_t);
 void   comcnputc(dev_t, int);
@@ -2260,9 +2260,8 @@
 com_common_putc(dev_t dev, bus_space_tag_t iot, bus_space_handle_t ioh, int c)
 {
        int s = splserial();
-       int timo;
+       int cin, stat, timo;
 
-       int cin, stat;
        if (com_readaheadcount < MAX_READAHEAD 
             && ISSET(stat = bus_space_read_1(iot, ioh, com_lsr), LSR_RXRDY)) {
                int cn_trapped = 0;



Home | Main Index | Thread Index | Old Index