projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
list.h: Convert INIT_LIST_HEAD macro to inline function.
[paraslash.git]
/
chunk_queue.c
diff --git
a/chunk_queue.c
b/chunk_queue.c
index
08f57e9
..
cf74cc3
100644
(file)
--- a/
chunk_queue.c
+++ b/
chunk_queue.c
@@
-131,7
+131,7
@@
int cq_get(struct queued_chunk *qc, const char **buf, size_t *num_bytes)
struct chunk_queue *cq_new(size_t max_pending)
{
struct chunk_queue *cq = para_malloc(sizeof(*cq));
-
INIT_LIST_HEAD
(&cq->q);
+
init_list_head
(&cq->q);
cq->max_pending = max_pending;
cq->num_pending = 0;
return cq;