mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
Use priority queue to reassemble TFTP packets
This commit is contained in:
1 parent
fecdbd6b17
commit
92bb3cfc17
3 files changed
+135
-56
No files matched your search
@@ -136,7 +136,7 @@ grub_priority_queue_new (grub_size_t elsize,
|
||||
|
||||
/* Heap property: pq->cmp (element (pq, p), element (pq, parent (p))) <= 0. */
|
||||
grub_err_t
|
||||
grub_priority_queue_push (grub_priority_queue_t pq, void *el)
|
||||
grub_priority_queue_push (grub_priority_queue_t pq, const void *el)
|
||||
{
|
||||
grub_size_t p;
|
||||
if (pq->used == pq->allocated)
|
||||
|
||||
Reference in new issue
Block a user