mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
Replace single-linked with double-linked lists. It results in more
compact and more efficient code. * grub-core/kern/list.c (grub_list_push): Moved from here ... * include/grub/list.h (grub_list_push): ... to here. Set prev. (grub_list_remove): Moved from here ... * include/grub/list.h (grub_list_remove): ... here. Use and set prev. (grub_prio_list_insert): Set prev. * include/grub/list.h (grub_list): Add prev. All users updated.
This commit is contained in:
1 parent
48b391e9ab
commit
87edb8940a
27 files changed
+111
-75
No files matched your search
@@ -635,6 +635,7 @@ devmapper_fail:
|
||||
struct linux_partition_cache
|
||||
{
|
||||
struct linux_partition_cache *next;
|
||||
struct linux_partition_cache **prev;
|
||||
char *dev;
|
||||
unsigned long start;
|
||||
int partno;
|
||||
|
||||
Reference in new issue
Block a user