summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2002-07-19 13:59:10 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2002-07-19 13:59:10 (GMT)
commitdfbda4b7a3b78540e49234f691eb5e28e92c2667 (patch)
treee413e79fab26581a52ab292eb8cfd4c15a58621a /win/tclWinSerial.c
parentd49b43a9ceee81dcee52620d4d2469df9624a457 (diff)
downloadtcl-dfbda4b7a3b78540e49234f691eb5e28e92c2667.zip
tcl-dfbda4b7a3b78540e49234f691eb5e28e92c2667.tar.gz
tcl-dfbda4b7a3b78540e49234f691eb5e28e92c2667.tar.bz2
Made variable static.
Diffstat (limited to 'win/tclWinSerial.c')
-rw-r--r--win/tclWinSerial.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/win/tclWinSerial.c b/win/tclWinSerial.c
index 6a60700..e5e69fa 100644
--- a/win/tclWinSerial.c
+++ b/win/tclWinSerial.c
@@ -11,7 +11,7 @@
*
* Serial functionality implemented by Rolf.Schroedter@dlr.de
*
- * RCS: @(#) $Id: tclWinSerial.c,v 1.20 2002/01/25 21:36:10 dgp Exp $
+ * RCS: @(#) $Id: tclWinSerial.c,v 1.21 2002/07/19 13:59:10 dkf Exp $
*/
#include "tclWinInt.h"
@@ -147,7 +147,11 @@ typedef struct SerialEvent {
* pointer. */
} SerialEvent;
-COMMTIMEOUTS no_timeout = { /* We don't use timeouts */
+/*
+ * We don't use timeouts.
+ */
+
+static COMMTIMEOUTS no_timeout = {
0, /* ReadIntervalTimeout */
0, /* ReadTotalTimeoutMultiplier */
0, /* ReadTotalTimeoutConstant */