From dfbda4b7a3b78540e49234f691eb5e28e92c2667 Mon Sep 17 00:00:00 2001 From: dkf Date: Fri, 19 Jul 2002 13:59:10 +0000 Subject: Made variable static. --- ChangeLog | 2 ++ win/tclWinSerial.c | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 758494a..a3aaec4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2002-07-19 Donal K. Fellows + * win/tclWinSerial.c (no_timeout): Made this variable static. + * generic/tclExecute.c, generic/tclCompile.c, generic/tclBasic.c: * generic/tclCompile.h (builtinFuncTable, instructionTable): Added prefix to these symbols because they are visible outside the Tcl 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 */ -- cgit v0.12