summaryrefslogtreecommitdiffstats
path: root/include/zix/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zix/thread.h')
-rw-r--r--include/zix/thread.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/zix/thread.h b/include/zix/thread.h
index 2493ed3..77a6bf5 100644
--- a/include/zix/thread.h
+++ b/include/zix/thread.h
@@ -4,8 +4,8 @@
#ifndef ZIX_THREAD_H
#define ZIX_THREAD_H
-#include "zix/attributes.h"
-#include "zix/status.h"
+#include <zix/attributes.h>
+#include <zix/status.h>
#ifdef _WIN32
# include <windows.h>
@@ -62,8 +62,7 @@ typedef ZixThreadResult(ZIX_THREAD_FUNC* ZixThreadFunc)(void*);
@return #ZIX_STATUS_SUCCESS on success, or #ZIX_STATUS_ERROR.
*/
-ZIX_API
-ZixStatus
+ZIX_API ZixStatus
zix_thread_create(ZixThread* thread,
size_t stack_size,
ZixThreadFunc function,
@@ -74,8 +73,7 @@ zix_thread_create(ZixThread* thread,
@return #ZIX_STATUS_SUCCESS on success, or #ZIX_STATUS_ERROR.
*/
-ZIX_API
-ZixStatus
+ZIX_API ZixStatus
zix_thread_join(ZixThread thread);
/**