summaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-04-04 15:42:09 +0200
committerAlexander Graf <agraf@suse.de>2018-04-05 10:01:32 +0200
commit9c9021e24571505d76969d8fd37b3b5e06ad2590 (patch)
tree7d10db6610d4f9cb293b26fb6f183cf94fc52684 /include/efi_api.h
parent2db1eba1c3717856ebcf01727379ad2d3f19b3cc (diff)
efi_loader: use const for GUIDs in the EFI_FILE_PROTOCOL
Use const efi_guid_t* when passing GUIDs. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r--include/efi_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index 396f45eaa8..8af466a6dc 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -866,10 +866,10 @@ struct efi_file_handle {
efi_status_t (EFIAPI *setpos)(struct efi_file_handle *file,
efi_uintn_t pos);
efi_status_t (EFIAPI *getinfo)(struct efi_file_handle *file,
- efi_guid_t *info_type, efi_uintn_t *buffer_size,
+ const efi_guid_t *info_type, efi_uintn_t *buffer_size,
void *buffer);
efi_status_t (EFIAPI *setinfo)(struct efi_file_handle *file,
- efi_guid_t *info_type, efi_uintn_t buffer_size,
+ const efi_guid_t *info_type, efi_uintn_t buffer_size,
void *buffer);
efi_status_t (EFIAPI *flush)(struct efi_file_handle *file);
};