Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: base/third_party/libevent/compat/sys/queue.h

Issue 1531573008: move libevent into base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix shim path Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_ */
OLDNEW
« no previous file with comments | « base/third_party/libevent/compat/sys/_libevent_time.h ('k') | base/third_party/libevent/configure.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698