summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixThrd.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2010-06-16 14:49:50 (GMT)
committernijtmans <nijtmans@noemail.net>2010-06-16 14:49:50 (GMT)
commite7dac5ec15ea38f02899fd039456b63d24f6bdfb (patch)
tree089f9fd54e012a12bd858f538ba697f61a08789e /unix/tclUnixThrd.c
parentd6ef186d456ae77aa44a90a36e98ba2064a7fdb2 (diff)
downloadtcl-e7dac5ec15ea38f02899fd039456b63d24f6bdfb.zip
tcl-e7dac5ec15ea38f02899fd039456b63d24f6bdfb.tar.gz
tcl-e7dac5ec15ea38f02899fd039456b63d24f6bdfb.tar.bz2
Simplify Tcl_AppInit and *_Init definitions.
Change TclpThreadCreate and Tcl_CreateThread signature, making clear that "proc" is a function pointer, as in all other "proc" function parameters. FossilOrigin-Name: 8567ee888a85773fefe8d5dbf8da6fd77a5a00cc
Diffstat (limited to 'unix/tclUnixThrd.c')
-rw-r--r--unix/tclUnixThrd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c
index 1766756..e1ffb9e 100644
--- a/unix/tclUnixThrd.c
+++ b/unix/tclUnixThrd.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixThrd.c,v 1.62 2010/03/05 14:34:04 dkf Exp $
+ * RCS: @(#) $Id: tclUnixThrd.c,v 1.63 2010/06/16 14:49:51 nijtmans Exp $
*/
#include "tclInt.h"
@@ -77,7 +77,7 @@ static pthread_mutex_t *allocLockPtr = &allocLock;
int
TclpThreadCreate(
Tcl_ThreadId *idPtr, /* Return, the ID of the thread */
- Tcl_ThreadCreateProc proc, /* Main() function of the thread */
+ Tcl_ThreadCreateProc *proc, /* Main() function of the thread */
ClientData clientData, /* The one argument to Main() */
int stackSize, /* Size of stack for the new thread */
int flags) /* Flags controlling behaviour of the new