diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-03-24 09:33:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-03-24 09:33:00 (GMT) |
commit | 1749f80a0818eb09d3657e5d1c9038c031d9e30e (patch) | |
tree | e71db6985fb4fce2dd3c41df8177770c0510d8a1 /unix | |
parent | b97fb3b2fa5d09e78d3ae457a3371c6ac4db1ec3 (diff) | |
download | tcl-1749f80a0818eb09d3657e5d1c9038c031d9e30e.zip tcl-1749f80a0818eb09d3657e5d1c9038c031d9e30e.tar.gz tcl-1749f80a0818eb09d3657e5d1c9038c031d9e30e.tar.bz2 |
Add TCL_NORETURN attribute to TclpThreadExit() and Tcl_ExitThread()
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixNotfy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index e37962d..6b7669d 100644 --- a/unix/tclUnixNotfy.c +++ b/unix/tclUnixNotfy.c @@ -193,7 +193,7 @@ static Tcl_ThreadId notifierThread; */ #ifdef TCL_THREADS -static void NotifierThreadProc(ClientData clientData); +static TCL_NORETURN void NotifierThreadProc(ClientData clientData); #if defined(HAVE_PTHREAD_ATFORK) static int atForkInit = 0; static void AtForkChild(void); @@ -1139,7 +1139,7 @@ Tcl_WaitForEvent( *---------------------------------------------------------------------- */ -static void +static TCL_NORETURN void NotifierThreadProc( ClientData clientData) /* Not used. */ { |