mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
ngx_queue_init()
This commit is contained in:
parent
6b2fce430b
commit
0134d6b622
@ -20,6 +20,11 @@ struct ngx_queue_s {
|
||||
};
|
||||
|
||||
|
||||
#define ngx_queue_init(q) \
|
||||
(q)->prev = q; \
|
||||
(q)->next = q;
|
||||
|
||||
|
||||
#define ngx_queue_empty(h) \
|
||||
(h == (h)->prev)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user