]> git.proxmox.com Git - grub2.git/commit
Remove prio_list.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 26 Feb 2012 21:49:24 +0000 (22:49 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 26 Feb 2012 21:49:24 +0000 (22:49 +0100)
commiteece3349ead259b440a36c3456b05fda56e82e7f
treebee1206384598cba36e9b84c45f70c9d1dd878f8
parent94f064b4c968a9b53b346926610f02156f31fdb5
parentead2a8822b4a8cd8fecf5b3d4941410c1163b55e
Remove prio_list.

* include/grub/list.h (grub_prio_list): Removed.
(GRUB_PRIO_LIST_PRIO_MASK): Removed. All users switched to
GRUB_COMMAND_PRIO_MASK.
(GRUB_PRIO_LIST_FLAG_ACTIVE): Removed. All users switched to
GRUB_COMMAND_FLAG_ACTIVE.
(grub_prio_list_insert): Removed.
(grub_prio_list_remove): Likewise.
(GRUB_AS_PRIO_LIST): Likewise.
(GRUB_AS_PRIO_LIST_P): Likewise.
* include/grub/command.h (GRUB_COMMAND_PRIO_MASK): New define.
(GRUB_COMMAND_FLAG_ACTIVE): Likewise.
* grub-core/kern/list.c (grub_prio_list_insert): Remove.
* grub-core/kern/command.c (grub_register_command_prio): Inline
the prio_list code.
(grub_unregister_command): Likewise.
ChangeLog
grub-core/kern/list.c
include/grub/list.h