sort-utils: add generic uint16_t comparison call
This commit is contained in:
committed by
Luca Boccassi
parent
07f314575b
commit
4c4de97db8
@@ -472,10 +472,6 @@ static int boot_id_hex(const char s[static 4]) {
|
||||
return id;
|
||||
}
|
||||
|
||||
static int cmp_uint16(const uint16_t *a, const uint16_t *b) {
|
||||
return CMP(*a, *b);
|
||||
}
|
||||
|
||||
int efi_get_boot_options(uint16_t **ret_options) {
|
||||
_cleanup_closedir_ DIR *dir = NULL;
|
||||
_cleanup_free_ uint16_t *list = NULL;
|
||||
|
||||
Reference in New Issue
Block a user