summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-22 15:28:53 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-22 15:28:53 +0000
commit440175e1b4e65b4660c146c450d8b85ccc7eca51 (patch)
treee5e12b6ffb6090c9bbf03227c49cd5f9515272dc
parentaf8aefc1087a470f4995487d02a3db98f5f6fce4 (diff)
Include <cthreads.h>.
(ports_bucket_iterate): Fix decl of NXT.
-rw-r--r--libports/bucket-iterate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libports/bucket-iterate.c b/libports/bucket-iterate.c
index ef020226..e431e808 100644
--- a/libports/bucket-iterate.c
+++ b/libports/bucket-iterate.c
@@ -19,6 +19,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
#include "ports.h"
+#include <cthreads.h>
/* This is obsecenely ineffecient. ihash and ports need to cooperate
more closely to do it effeciently. */
@@ -31,7 +32,7 @@ ports_bucket_iterate (struct port_bucket *bucket,
struct item *next;
void *p;
} *list = 0;
- struct item *i, nxt;
+ struct item *i, *nxt;
error_t err;
error_t enqueue (void *pi)