summaryrefslogtreecommitdiffstats
path: root/win/tclWinThrd.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-06-16 14:49:50 (GMT)
committernijtmans <nijtmans>2010-06-16 14:49:50 (GMT)
commit895f05f712393e5e7629384b1690690c6f866974 (patch)
tree089f9fd54e012a12bd858f538ba697f61a08789e /win/tclWinThrd.c
parenteb98df8fef94944b7b479387e27232beab5e869d (diff)
downloadtcl-895f05f712393e5e7629384b1690690c6f866974.zip
tcl-895f05f712393e5e7629384b1690690c6f866974.tar.gz
tcl-895f05f712393e5e7629384b1690690c6f866974.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.
Diffstat (limited to 'win/tclWinThrd.c')
-rw-r--r--win/tclWinThrd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinThrd.c b/win/tclWinThrd.c
index 67e7350..7154496 100644
--- a/win/tclWinThrd.c
+++ b/win/tclWinThrd.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: tclWinThrd.c,v 1.52 2010/01/13 06:46:56 nijtmans Exp $
+ * RCS: @(#) $Id: tclWinThrd.c,v 1.53 2010/06/16 14:49:51 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -145,7 +145,7 @@ typedef struct allocMutex {
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