From 08ed02b9705b7bce1b8d79da6455d59a31295212 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 28 Mar 2018 01:22:33 +0200 Subject: Fix coding style --- sysdeps/mach/pt-thread-start.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'sysdeps/mach/pt-thread-start.c') diff --git a/sysdeps/mach/pt-thread-start.c b/sysdeps/mach/pt-thread-start.c index 07fbc30..571c1f2 100644 --- a/sysdeps/mach/pt-thread-start.c +++ b/sysdeps/mach/pt-thread-start.c @@ -29,15 +29,18 @@ __pthread_thread_start (struct __pthread *thread) static int do_start; error_t err; - if (! do_start) + if (!do_start) { /* The main thread is already running: do nothing. */ assert (__pthread_total == 1); - assert (({ mach_port_t ktid = __mach_thread_self (); - int ok = thread->kernel_thread == ktid; - __mach_port_deallocate (__mach_task_self (), - thread->kernel_thread); - ok; })); + assert (( + { + mach_port_t ktid = __mach_thread_self (); + int ok = thread->kernel_thread == ktid; + __mach_port_deallocate (__mach_task_self (), + thread->kernel_thread); + ok; + })); do_start = 1; } else -- cgit v1.2.3