summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-24 09:33:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-24 09:33:00 (GMT)
commitab08379d1c20b87f25e17de1c9e8bac2b0360e47 (patch)
treee71db6985fb4fce2dd3c41df8177770c0510d8a1 /macosx
parent321cd769b746ae6c9ef1b15e193fb645de9a0d0b (diff)
downloadtcl-ab08379d1c20b87f25e17de1c9e8bac2b0360e47.zip
tcl-ab08379d1c20b87f25e17de1c9e8bac2b0360e47.tar.gz
tcl-ab08379d1c20b87f25e17de1c9e8bac2b0360e47.tar.bz2
Add TCL_NORETURN attribute to TclpThreadExit() and Tcl_ExitThread()
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tclMacOSXNotify.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/macosx/tclMacOSXNotify.c b/macosx/tclMacOSXNotify.c
index a7f26b7..1af73de 100644
--- a/macosx/tclMacOSXNotify.c
+++ b/macosx/tclMacOSXNotify.c
@@ -385,8 +385,7 @@ static CFStringRef tclEventsOnlyRunLoopMode = NULL;
*/
static void StartNotifierThread(void);
-static void NotifierThreadProc(ClientData clientData)
- __attribute__ ((__noreturn__));
+static TCL_NORETURN void NotifierThreadProc(ClientData clientData);
static int FileHandlerEventProc(Tcl_Event *evPtr, int flags);
static void TimerWakeUp(CFRunLoopTimerRef timer, void *info);
static void QueueFileEvents(void *info);
@@ -1753,7 +1752,7 @@ TclUnixWaitForFile(
*----------------------------------------------------------------------
*/
-static void
+static TCL_NORETURN void
NotifierThreadProc(
ClientData clientData) /* Not used. */
{