| OLD | NEW |
| 1 /* $OpenBSD: queue.h,v 1.16 2000/09/07 19:47:59 art Exp $ */ | 1 /* $OpenBSD: queue.h,v 1.16 2000/09/07 19:47:59 art Exp $ */ |
| 2 /* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */ | 2 /* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */ |
| 3 | 3 |
| 4 /* | 4 /* |
| 5 * Copyright (c) 1991, 1993 | 5 * Copyright (c) 1991, 1993 |
| 6 * The Regents of the University of California. All rights reserved. | 6 * The Regents of the University of California. All rights reserved. |
| 7 * | 7 * |
| 8 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
| 9 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
| 10 * are met: | 10 * are met: |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 else \ | 479 else \ |
| 480 (elm2)->field.cqe_next->field.cqe_prev = (elm2); \ | 480 (elm2)->field.cqe_next->field.cqe_prev = (elm2); \ |
| 481 if (((elm2)->field.cqe_prev = (elm)->field.cqe_prev) == \ | 481 if (((elm2)->field.cqe_prev = (elm)->field.cqe_prev) == \ |
| 482 CIRCLEQ_END(head)) \ | 482 CIRCLEQ_END(head)) \ |
| 483 (head).cqh_first = (elm2); \ | 483 (head).cqh_first = (elm2); \ |
| 484 else \ | 484 else \ |
| 485 (elm2)->field.cqe_prev->field.cqe_next = (elm2); \ | 485 (elm2)->field.cqe_prev->field.cqe_next = (elm2); \ |
| 486 } while (0) | 486 } while (0) |
| 487 | 487 |
| 488 #endif /* !_SYS_QUEUE_H_ */ | 488 #endif /* !_SYS_QUEUE_H_ */ |
| OLD | NEW |