mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
Remove grub_list_pop
This commit is contained in:
1 parent
8cfa78770d
commit
0959e5ec30
5 files changed
+11
-24
No files matched your search
-12
@@ -28,18 +28,6 @@ grub_list_push (grub_list_t *head, grub_list_t item)
|
||||
*head = item;
|
||||
}
|
||||
|
||||
void *
|
||||
grub_list_pop (grub_list_t *head)
|
||||
{
|
||||
grub_list_t item;
|
||||
|
||||
item = *head;
|
||||
if (item)
|
||||
*head = item->next;
|
||||
|
||||
return item;
|
||||
}
|
||||
|
||||
void
|
||||
grub_list_remove (grub_list_t *head, grub_list_t item)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user