diff options
author | Timothy Arceri <[email protected]> | 2017-03-06 11:58:26 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-07 09:12:16 +1100 |
commit | da40ac65c7b9f8d877fb6f79b2a29138237ec868 (patch) | |
tree | 00a0b3af4f968db85cd2a0b6bc531245f7c6a779 /src/gallium/drivers/llvmpipe | |
parent | e92293a601bbc141bb85f88f962264fa0b1da916 (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/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c index 9e56c962d2d..2f222d00589 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.c +++ b/src/gallium/drivers/llvmpipe/lp_rast.c @@ -781,7 +781,8 @@ lp_rast_finish( struct lp_rasterizer *rast ) * 2. do work * 3. signal that we're done */ -static PIPE_THREAD_ROUTINE( thread_function, init_data ) +static int +thread_function(void *init_data) { struct lp_rasterizer_task *task = (struct lp_rasterizer_task *) init_data; struct lp_rasterizer *rast = task->rast; |