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/rbug | |
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/rbug')
-rw-r--r-- | src/gallium/drivers/rbug/rbug_core.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/rbug/rbug_core.c b/src/gallium/drivers/rbug/rbug_core.c index a5d3ee49ce4..5752e5e739c 100644 --- a/src/gallium/drivers/rbug/rbug_core.c +++ b/src/gallium/drivers/rbug/rbug_core.c @@ -58,7 +58,8 @@ struct rbug_rbug boolean running; }; -PIPE_THREAD_ROUTINE(rbug_thread, void_rbug); +int +rbug_thread(void *void_rbug); /********************************************************** @@ -799,7 +800,8 @@ rbug_con(struct rbug_rbug *tr_rbug) tr_rbug->con = NULL; } -PIPE_THREAD_ROUTINE(rbug_thread, void_tr_rbug) +int +rbug_thread(void *void_tr_rbug) { struct rbug_rbug *tr_rbug = void_tr_rbug; uint16_t port = 13370; |