summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2012-03-02 17:49:59 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2012-03-02 17:49:59 +0000
commit5d84361807edd70dca33b818114c0ab3caee7f29 (patch)
tree4428de43b861bb6dd3758040fa79e3f3c4aab6c4
parentef35a6dd98a064c1c27f076bf147ac89bb4b11ec (diff)
for readability, put the label on it's own line.
-rw-r--r--lib/librthread/rthread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/librthread/rthread.c b/lib/librthread/rthread.c
index 057eaecfc53..a81645ee1fb 100644
--- a/lib/librthread/rthread.c
+++ b/lib/librthread/rthread.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread.c,v 1.55 2012/02/24 05:37:51 guenther Exp $ */
+/* $OpenBSD: rthread.c,v 1.56 2012/03/02 17:49:58 fgsch Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -254,7 +254,8 @@ _rthread_reaper(void)
{
pthread_t thread;
-restart:_spinlock(&_thread_gc_lock);
+restart:
+ _spinlock(&_thread_gc_lock);
TAILQ_FOREACH(thread, &_thread_gc_list, waiting) {
if (thread->tid != 0)
continue;