summaryrefslogtreecommitdiffstats
path: root/macosx/tclMacOSXNotify.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-04-10 11:01:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-04-10 11:01:52 (GMT)
commit63b8d1466dca7693cf0f6b61d39fada6fd1e0e7f (patch)
treeda3ddd5544fa58d0283d7de291c19156e1b52de3 /macosx/tclMacOSXNotify.c
parent8c52e2d45db4862de7e7506197321a6a111c65f6 (diff)
parent3c4cc0a0013a0552c90518a995ae654571c18a5b (diff)
downloadtcl-63b8d1466dca7693cf0f6b61d39fada6fd1e0e7f.zip
tcl-63b8d1466dca7693cf0f6b61d39fada6fd1e0e7f.tar.gz
tcl-63b8d1466dca7693cf0f6b61d39fada6fd1e0e7f.tar.bz2
Merge "tip-468" branch. Add new function Tcl_OpenTcpClientEx() with same change as Tcl_OpenTcpServerEx(): in stead of a port number, supplie a "service" string.
Diffstat (limited to 'macosx/tclMacOSXNotify.c')
-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. */
{