summaryrefslogtreecommitdiffstats
path: root/src/H5TS.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5TS.c')
-rw-r--r--src/H5TS.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5TS.c b/src/H5TS.c
index 078a22e..29be128 100644
--- a/src/H5TS.c
+++ b/src/H5TS.c
@@ -49,6 +49,9 @@ typedef struct H5TS_cancel_struct {
unsigned int cancel_count;
} H5TS_cancel_t;
+/* Function pointer typedef for thread callback function */
+typedef void *(*H5TS_thread_cb_t)(void *);
+
/********************/
/* Local Prototypes */
/********************/
@@ -727,7 +730,7 @@ H5TS_win32_thread_exit(void)
*--------------------------------------------------------------------------
*/
H5TS_thread_t
-H5TS_create_thread(void *(*func)(void *), H5TS_attr_t *attr, void *udata)
+H5TS_create_thread(H5TS_thread_cb_t func, H5TS_attr_t *attr, void *udata)
{
H5TS_thread_t ret_value;
f5.git/diff/?h=inactive/hdf5_daosm&id=b6c317f27cd150aa7bfc4e9cf275629570c9a319'>Diffstat (limited to 'src')