summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-24 10:30:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-24 10:30:56 (GMT)
commitcbe925ed316598fcf5e87acdd7c1f8cf8b244f8b (patch)
tree4048009aa7134f488430dfd31bb6023ac67b629b /unix
parentdab82cc3218cc10696eb1dc0ad77009eddf6c576 (diff)
parent1749f80a0818eb09d3657e5d1c9038c031d9e30e (diff)
downloadtcl-cbe925ed316598fcf5e87acdd7c1f8cf8b244f8b.zip
tcl-cbe925ed316598fcf5e87acdd7c1f8cf8b244f8b.tar.gz
tcl-cbe925ed316598fcf5e87acdd7c1f8cf8b244f8b.tar.bz2
Merge trunk
Diffstat (limited to 'unix')
-rw-r--r--unix/tclSelectNotfy.c4
-rw-r--r--unix/tclUnixNotfy.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclSelectNotfy.c b/unix/tclSelectNotfy.c
index f57cf74..cf21b85 100644
--- a/unix/tclSelectNotfy.c
+++ b/unix/tclSelectNotfy.c
@@ -194,7 +194,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);
@@ -918,7 +918,7 @@ Tcl_WaitForEvent(
*----------------------------------------------------------------------
*/
-static void
+static TCL_NORETURN void
NotifierThreadProc(
ClientData clientData) /* Not used. */
{
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c
index d7bbabe..17307dc 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -19,7 +19,7 @@
#ifdef NOTIFIER_SELECT
#ifdef TCL_THREADS
-static void NotifierThreadProc(ClientData clientData);
+static TCL_NORETURN void NotifierThreadProc(ClientData clientData);
#if defined(HAVE_PTHREAD_ATFORK)
static void AtForkChild(void);
#endif /* HAVE_PTHREAD_ATFORK */