summaryrefslogtreecommitdiffstats
path: root/libdimension/threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/threads.h')
-rw-r--r--libdimension/threads.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/threads.h b/libdimension/threads.h
index 5884fae..00be0a9 100644
--- a/libdimension/threads.h
+++ b/libdimension/threads.h
@@ -26,7 +26,7 @@
typedef int dmnsn_thread_fn(void *ptr);
/* Creates a thread that cleans up after itself on errors */
-int dmnsn_new_thread(dmnsn_progress *progress, const pthread_attr_t *attr,
- dmnsn_thread_fn *thread_fn, void *arg);
+void dmnsn_new_thread(dmnsn_progress *progress, const pthread_attr_t *attr,
+ dmnsn_thread_fn *thread_fn, void *arg);
#endif /* DIMENSION_IMPL_THREADS_H */