summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-06 11:58:26 +1100
committerTimothy Arceri <[email protected]>2017-03-07 09:12:16 +1100
commitda40ac65c7b9f8d877fb6f79b2a29138237ec868 (patch)
tree00a0b3af4f968db85cd2a0b6bc531245f7c6a779 /src/gallium/tests
parente92293a601bbc141bb85f88f962264fa0b1da916 (diff)
gallium/util: remove PIPE_THREAD_ROUTINE()
This was made unnecessary with fd33a6bcd7f12. This was mostly done with: find ./src -type f -exec sed -i -- \ 's:PIPE_THREAD_ROUTINE(\([^,]*\), \([^)]*\)):int\n\1(void \*\2):g' {} \; With some small manual tidy ups. Reviewed-by: Plamena Manolova <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/tests')
-rw-r--r--src/gallium/tests/unit/pipe_barrier_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/tests/unit/pipe_barrier_test.c b/src/gallium/tests/unit/pipe_barrier_test.c
index d5d7fb747af..34a77b8196f 100644
--- a/src/gallium/tests/unit/pipe_barrier_test.c
+++ b/src/gallium/tests/unit/pipe_barrier_test.c
@@ -66,7 +66,8 @@ static volatile int proceeded = 0;
}
-static PIPE_THREAD_ROUTINE(thread_function, thread_data)
+static int
+thread_function(void *thread_data)
{
int thread_id = *((int *) thread_data);