external/efibootmgr
Revisión | a542b169003c2ef95ce6c00d40050eb10568b612 (tree) |
---|---|
Tiempo | 2017-03-08 01:07:06 |
Autor | Peter Jones <pjones@redh...> |
Commiter | Peter Jones |
Remove extra const keywords gcc 7 gripes about.
Signed-off-by: Peter Jones <pjones@redhat.com>
@@ -39,7 +39,7 @@ print_boot_entry(efi_load_option *loadopt, size_t data_size) | ||
39 | 39 | uint8_t *optional_data = NULL; |
40 | 40 | size_t optional_data_len = 0; |
41 | 41 | uint16_t pathlen; |
42 | - const unsigned char const *desc; | |
42 | + const unsigned char *desc; | |
43 | 43 | char *raw; |
44 | 44 | size_t raw_len; |
45 | 45 |
@@ -221,7 +221,7 @@ warn_duplicate_name(list_t *var_list) | ||
221 | 221 | list_t *pos; |
222 | 222 | var_entry_t *entry; |
223 | 223 | efi_load_option *load_option; |
224 | - const unsigned char const *desc; | |
224 | + const unsigned char *desc; | |
225 | 225 | |
226 | 226 | list_for_each(pos, var_list) { |
227 | 227 | entry = list_entry(pos, var_entry_t, list); |
@@ -873,7 +873,7 @@ show_vars(const char *prefix) | ||
873 | 873 | { |
874 | 874 | list_t *pos; |
875 | 875 | var_entry_t *boot; |
876 | - const unsigned char const *description; | |
876 | + const unsigned char *description; | |
877 | 877 | efi_load_option *load_option; |
878 | 878 | efidp dp = NULL; |
879 | 879 | unsigned char *optional_data = NULL; |