diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2002-07-19 13:59:10 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2002-07-19 13:59:10 (GMT) |
commit | dfbda4b7a3b78540e49234f691eb5e28e92c2667 (patch) | |
tree | e413e79fab26581a52ab292eb8cfd4c15a58621a | |
parent | d49b43a9ceee81dcee52620d4d2469df9624a457 (diff) | |
download | tcl-dfbda4b7a3b78540e49234f691eb5e28e92c2667.zip tcl-dfbda4b7a3b78540e49234f691eb5e28e92c2667.tar.gz tcl-dfbda4b7a3b78540e49234f691eb5e28e92c2667.tar.bz2 |
Made variable static.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | win/tclWinSerial.c | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,7 @@ 2002-07-19 Donal K. Fellows <fellowsd@cs.man.ac.uk> + * 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 */ |