| 29 | } |
| 30 | |
| 31 | void clear_prio_queue(struct prio_queue *queue) |
| 32 | { |
| 33 | FREE_AND_NULL(queue->array); |
| 34 | queue->nr = 0; |
| 35 | queue->alloc = 0; |
| 36 | queue->insertion_ctr = 0; |
| 37 | } |
| 38 | |
| 39 | void prio_queue_put(struct prio_queue *queue, void *thing) |
| 40 | { |
no outgoing calls