diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-05-27 13:18:51 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-05-27 13:18:51 (GMT) |
commit | d63bdddac575b06d8dbaff5caf199f191258281a (patch) | |
tree | 81621affdfd50f3451faa2c5568732111932e247 /unix/tclUnixThrd.c | |
parent | 4761295d5dc11e76a759fc26de4b30d09bccd1a5 (diff) | |
download | tcl-d63bdddac575b06d8dbaff5caf199f191258281a.zip tcl-d63bdddac575b06d8dbaff5caf199f191258281a.tar.gz tcl-d63bdddac575b06d8dbaff5caf199f191258281a.tar.bz2 |
Made compiling with -Wstrict-prototypes -Wmissing-prototypes much cleaner.
Also added support for [FRQ 951168] but left that switched off by default.
Diffstat (limited to 'unix/tclUnixThrd.c')
-rw-r--r-- | unix/tclUnixThrd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index 3de2319..56745b0 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -126,9 +126,9 @@ Tcl_CreateThread(idPtr, proc, clientData, stackSize, flags) if (pthread_create((pthread_t *)idPtr, &attr, - (void * (*)())proc, (void *)clientData) && + (void * (*)(void *))proc, (void *)clientData) && pthread_create((pthread_t *)idPtr, NULL, - (void * (*)())proc, (void *)clientData)) { + (void * (*)(void *))proc, (void *)clientData)) { result = TCL_ERROR; } else { result = TCL_OK; |