summaryrefslogtreecommitdiff
path: root/libports/manage-multithread.c
diff options
context:
space:
mode:
Diffstat (limited to 'libports/manage-multithread.c')
-rw-r--r--libports/manage-multithread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c
index 6a0fc670..5260d940 100644
--- a/libports/manage-multithread.c
+++ b/libports/manage-multithread.c
@@ -31,7 +31,6 @@ ports_manage_port_operations_multithread (struct port_bucket *bucket,
int wire_cthreads,
mach_port_t wire_threads)
{
- error_t err;
int nreqthreads = 0;
int totalthreads = 0;
spin_lock_t lock = SPIN_LOCK_INITIALIZER;
@@ -74,6 +73,7 @@ ports_manage_port_operations_multithread (struct port_bucket *bucket,
thread_function (int master)
{
int timeout;
+ error_t err;
if (wire_threads)
thread_wire (wire_threads, hurd_thread_self (), 1);