Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Use #if defined in previous.



details:   https://anonhg.NetBSD.org/src/rev/57a0e8434804
branches:  trunk
changeset: 325276:57a0e8434804
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Dec 16 12:08:14 2013 +0000

description:
Use #if defined in previous.

diffstat:

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

diffs (27 lines):

diff -r a98a355497a6 -r 57a0e8434804 sys/dev/ic/com.c
--- a/sys/dev/ic/com.c  Mon Dec 16 10:04:20 2013 +0000
+++ b/sys/dev/ic/com.c  Mon Dec 16 12:08:14 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com.c,v 1.320 2013/12/16 01:51:19 htodd Exp $ */
+/* $NetBSD: com.c,v 1.321 2013/12/16 12:08:14 skrll Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2004, 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.320 2013/12/16 01:51:19 htodd Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.321 2013/12/16 12:08:14 skrll Exp $");
 
 #include "opt_com.h"
 #include "opt_ddb.h"
@@ -385,7 +385,7 @@
 {
        struct com_regs *regsp = &sc->sc_regs;
        struct tty *tp;
-#if (COM_16650 || COM_16750)
+#if defined(COM_16650) || defined(COM_16750)
        u_int8_t lcr;
 #endif
        const char *fifo_msg = NULL;



Home | Main Index | Thread Index | Old Index