Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Make comsoft_callout static; it's not referenced ...



details:   https://anonhg.NetBSD.org/src/rev/2e7841603e4b
branches:  trunk
changeset: 555060:2e7841603e4b
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Nov 08 02:54:47 2003 +0000

description:
Make comsoft_callout static; it's not referenced outside this file.

diffstat:

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

diffs (27 lines):

diff -r 3adf30c6f102 -r 2e7841603e4b sys/dev/ic/com.c
--- a/sys/dev/ic/com.c  Sat Nov 08 01:59:38 2003 +0000
+++ b/sys/dev/ic/com.c  Sat Nov 08 02:54:47 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: com.c,v 1.221 2003/11/06 23:02:27 simonb Exp $ */
+/*     $NetBSD: com.c,v 1.222 2003/11/08 02:54:47 simonb Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.221 2003/11/06 23:02:27 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.222 2003/11/08 02:54:47 simonb Exp $");
 
 #include "opt_com.h"
 #include "opt_ddb.h"
@@ -168,7 +168,7 @@
 void   comsoft(void);
 #else
 void   comsoft(void *);
-struct callout comsoft_callout = CALLOUT_INITIALIZER;
+static struct callout comsoft_callout = CALLOUT_INITIALIZER;
 #endif
 #endif
 integrate void com_rxsoft(struct com_softc *, struct tty *);



Home | Main Index | Thread Index | Old Index