summaryrefslogtreecommitdiffstats
path: root/test/test_thread.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-18 17:14:16 -0400
committerDavid Robillard <d@drobilla.net>2022-08-18 17:14:16 -0400
commit35c7e80281ff6079b6e89dd421addd0a5f6b8b2c (patch)
treec0a6071c8872a79cb4e8670a5845c7b434e557e3 /test/test_thread.c
parent4b6cd5239ce102fcb89837195ab47943981a70f5 (diff)
downloadzix-35c7e80281ff6079b6e89dd421addd0a5f6b8b2c.tar.gz
zix-35c7e80281ff6079b6e89dd421addd0a5f6b8b2c.tar.bz2
zix-35c7e80281ff6079b6e89dd421addd0a5f6b8b2c.zip
Fix thread function attributes on Windows
Diffstat (limited to 'test/test_thread.c')
-rw-r--r--test/test_thread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_thread.c b/test/test_thread.c
index 6fe80a5..8cfc9f4 100644
--- a/test/test_thread.c
+++ b/test/test_thread.c
@@ -13,8 +13,7 @@ typedef struct {
int output;
} SharedData;
-ZIX_THREAD_FUNC
-static ZixThreadResult
+static ZixThreadResult ZIX_THREAD_FUNC
thread_func(void* const arg)
{
SharedData* const data = (SharedData*)arg;