|
Lines 36-42
Link Here
|
| 36 |
* @(#)queue.h 8.5 (Berkeley) 8/20/94 |
36 |
* @(#)queue.h 8.5 (Berkeley) 8/20/94 |
| 37 |
*/ |
37 |
*/ |
| 38 |
|
38 |
|
| 39 |
#ifndef _SYS_QUEUE_H_ |
39 |
#if !defined(_SYS_QUEUE_H_) || defined(HAVE_BOGUS_SYS_QUEUE_H) |
|
|
40 |
#ifdef HAVE_BOGUS_SYS_QUEUE_H |
| 41 |
#undef LIST_INIT |
| 42 |
#undef CIRCLEQ_INIT |
| 43 |
#undef CIRCLEQ_INSERT_AFTER |
| 44 |
#undef CIRCLEQ_INSERT_BEFORE |
| 45 |
#undef CIRCLEQ_INSERT_HEAD |
| 46 |
#undef CIRCLEQ_INSERT_TAIL |
| 47 |
#undef CIRCLEQ_REMOVE |
| 48 |
#endif |
| 49 |
#ifdef _SYS_QUEUE_H_ |
| 50 |
#undef _SYS_QUEUE_H_ |
| 51 |
#endif |
| 40 |
#define _SYS_QUEUE_H_ |
52 |
#define _SYS_QUEUE_H_ |
| 41 |
|
53 |
|
| 42 |
/* |
54 |
/* |
|
Lines 500-503
Link Here
|
| 500 |
(elm2)->field.cqe_prev->field.cqe_next = (elm2); \ |
512 |
(elm2)->field.cqe_prev->field.cqe_next = (elm2); \ |
| 501 |
} while (0) |
513 |
} while (0) |
| 502 |
|
514 |
|
| 503 |
#endif /* !_SYS_QUEUE_H_ */ |
515 |
#endif /* !_SYS_QUEUE_H_ || HAVE_BOGUS_SYS_QUEUE_H */ |