efi: avoid weirdly double }} by indenting differently

This commit is contained in:
Lennart Poettering 2020-05-26 22:25:54 +02:00
parent d4bd786d69
commit 5c25f42322

View file

@ -28,7 +28,8 @@
#define END_ENTIRE_DEVICE_PATH_SUBTYPE 0xff
#define EFI_OS_INDICATIONS_BOOT_TO_FW_UI 0x0000000000000001
#define boot_option__contents { \
#define boot_option__contents \
{ \
uint32_t attr; \
uint16_t path_len; \
uint16_t title[]; \
@ -49,7 +50,8 @@ struct drive_path {
uint8_t signature_type;
} _packed_;
#define device_path__contents { \
#define device_path__contents \
{ \
uint8_t type; \
uint8_t sub_type; \
uint16_t length; \
@ -63,7 +65,6 @@ struct device_path device_path__contents;
struct device_path__packed device_path__contents _packed_;
assert_cc(sizeof(struct device_path) == sizeof(struct device_path__packed));
int efi_reboot_to_firmware_supported(void) {
_cleanup_free_ void *v = NULL;
uint64_t b;