diff options
author | dgp <dgp@users.sourceforge.net> | 2017-08-10 13:28:48 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-08-10 13:28:48 (GMT) |
commit | d6e5a5012c055c7737f8f12ba124248812b4422a (patch) | |
tree | 541fc0a48bc060d5d47955dd70a8c3c0c778304c /generic | |
parent | 9fa740ecb17b20f4b5506eec791dd681a6f8c468 (diff) | |
download | tcl-d6e5a5012c055c7737f8f12ba124248812b4422a.zip tcl-d6e5a5012c055c7737f8f12ba124248812b4422a.tar.gz tcl-d6e5a5012c055c7737f8f12ba124248812b4422a.tar.bz2 |
Silence compiler warning in --disable-threads build
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclIORChan.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c index f476a1a..e862761 100644 --- a/generic/tclIORChan.c +++ b/generic/tclIORChan.c @@ -41,6 +41,8 @@ static void ReflectWatch(ClientData clientData, int mask); static int ReflectBlock(ClientData clientData, int mode); #ifdef TCL_THREADS static void ReflectThread(ClientData clientData, int action); +static int ReflectEventRun(Tcl_Event *ev, int flags); +static int ReflectEventDelete(Tcl_Event *ev, ClientData cd); #endif static Tcl_WideInt ReflectSeekWide(ClientData clientData, Tcl_WideInt offset, int mode, int *errorCodePtr); @@ -748,6 +750,7 @@ TclChanCreateObjCmd( *---------------------------------------------------------------------- */ +#ifdef TCL_THREADS typedef struct ReflectEvent { Tcl_Event header; ReflectedChannel *rcPtr; @@ -791,6 +794,7 @@ ReflectEventDelete( } return 1; } +#endif int TclChanPostEventObjCmd( |