summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-09-08 08:21:48 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-09-08 08:21:48 +0000
commit91af4cb425936f21fe48db76860b70146ec2165f (patch)
treed4a8ead1c53fbe6456e0b9219acf1211798f8ca9
parent3d84e9967bb11c85e1d0cee1f121041aa22986db (diff)
TAILQ_FOREACH now is in queue.h
-rw-r--r--lib/libc_r/uthread/pthread_private.h8
-rw-r--r--lib/libpthread/uthread/pthread_private.h8
2 files changed, 2 insertions, 14 deletions
diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h
index 748485bc454..69a36e13477 100644
--- a/lib/libc_r/uthread/pthread_private.h
+++ b/lib/libc_r/uthread/pthread_private.h
@@ -31,7 +31,7 @@
*
* Private thread definitions for the uthread kernel.
*
- * $OpenBSD: pthread_private.h,v 1.16 1999/06/15 00:07:39 d Exp $
+ * $OpenBSD: pthread_private.h,v 1.17 1999/09/08 08:21:47 espie Exp $
*
*/
@@ -55,12 +55,6 @@
#include "uthread_machdep.h"
#endif
-#ifdef __OpenBSD__
-/* Steal TAILQ_FOREACH from FreeBSD's <sys/queue.h> */
-#define TAILQ_FOREACH(var, head, field) \
- for (var = TAILQ_FIRST(head); var; var = TAILQ_NEXT(var, field))
-#endif
-
/*
* Kernel fatal error handler macro.
*/
diff --git a/lib/libpthread/uthread/pthread_private.h b/lib/libpthread/uthread/pthread_private.h
index 748485bc454..69a36e13477 100644
--- a/lib/libpthread/uthread/pthread_private.h
+++ b/lib/libpthread/uthread/pthread_private.h
@@ -31,7 +31,7 @@
*
* Private thread definitions for the uthread kernel.
*
- * $OpenBSD: pthread_private.h,v 1.16 1999/06/15 00:07:39 d Exp $
+ * $OpenBSD: pthread_private.h,v 1.17 1999/09/08 08:21:47 espie Exp $
*
*/
@@ -55,12 +55,6 @@
#include "uthread_machdep.h"
#endif
-#ifdef __OpenBSD__
-/* Steal TAILQ_FOREACH from FreeBSD's <sys/queue.h> */
-#define TAILQ_FOREACH(var, head, field) \
- for (var = TAILQ_FIRST(head); var; var = TAILQ_NEXT(var, field))
-#endif
-
/*
* Kernel fatal error handler macro.
*/