From 8280939283c0669c7f5dddcfef027f565a795f16 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 23 Mar 2010 12:33:40 +0100 Subject: [PATCH] Reformat --- src/sel_thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sel_thread.c b/src/sel_thread.c index 6e07068..10b6d16 100644 --- a/src/sel_thread.c +++ b/src/sel_thread.c @@ -73,7 +73,7 @@ static void *sel_thread_handler(void *vp) { sel_thread_t p = (sel_thread_t) vp; - while(1) + while (1) { struct work_item *work_this = 0; /* wait for some work */ @@ -140,7 +140,7 @@ sel_thread_t sel_thread_create(void (*work_handler)(void *work_data), p->thread_id = nmem_malloc(nmem, sizeof(*p->thread_id) * p->no_threads); for (i = 0; i < p->no_threads; i++) - pthread_create (p->thread_id + i, 0, sel_thread_handler, p); + pthread_create(p->thread_id + i, 0, sel_thread_handler, p); return p; } -- 1.7.10.4