From: Jan Kiszka <[email protected]>

No functional changes.

Signed-off-by: Jan Kiszka <[email protected]>
---
 env/fatvars.c   | 4 ++--
 env/syspart.c   | 2 +-
 include/utils.h | 2 +-
 utils.c         | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/env/fatvars.c b/env/fatvars.c
index 45901fb..7b19b66 100644
--- a/env/fatvars.c
+++ b/env/fatvars.c
@@ -23,7 +23,7 @@
 static int current_partition = 0;
 static BG_ENVDATA env[ENV_NUM_CONFIG_PARTS];
 
-BG_STATUS save_current_config(void)
+BG_STATUS save_current_config(VOID)
 {
        BG_STATUS result = BG_CONFIG_ERROR;
        EFI_STATUS efistatus;
@@ -233,6 +233,6 @@ lc_cleanup:
 
 BG_STATUS save_config(BG_LOADER_PARAMS *bglp)
 {
-       (void)bglp;
+       (VOID)bglp;
        return BG_NOT_IMPLEMENTED;
 }
diff --git a/env/syspart.c b/env/syspart.c
index a42d371..366a106 100644
--- a/env/syspart.c
+++ b/env/syspart.c
@@ -51,7 +51,7 @@ EFI_STATUS enumerate_cfg_parts(UINTN *config_volumes, UINTN 
*numHandles)
        return EFI_SUCCESS;
 }
 
-static void swap_uintn(UINTN *a, UINTN *b)
+static VOID swap_uintn(UINTN *a, UINTN *b)
 {
        UINTN tmp;
        tmp = *a;
diff --git a/include/utils.h b/include/utils.h
index f83d6b4..084796e 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -32,7 +32,7 @@ extern UINTN volume_count;
 
 typedef enum { DOSFSLABEL, CUSTOMLABEL, NOLABEL } LABELMODE;
 
-void __attribute__((noreturn)) error_exit(CHAR16 *message, EFI_STATUS status);
+VOID __attribute__((noreturn)) error_exit(CHAR16 *message, EFI_STATUS status);
 CHAR16 *get_volume_label(EFI_FILE_HANDLE fh);
 EFI_STATUS get_volumes(VOLUME_DESC **volumes, UINTN *count);
 EFI_STATUS close_volumes(VOLUME_DESC *volumes, UINTN count);
diff --git a/utils.c b/utils.c
index 9528bc5..3becc62 100644
--- a/utils.c
+++ b/utils.c
@@ -49,7 +49,7 @@ BOOLEAN IsOnBootMedium(EFI_DEVICE_PATH *dp)
        return result;
 }
 
-void __attribute__((noreturn)) error_exit(CHAR16 *message, EFI_STATUS status)
+VOID __attribute__((noreturn)) error_exit(CHAR16 *message, EFI_STATUS status)
 {
        ERROR(L"%s ( %r )\n", message, status);
        (VOID)uefi_call_wrapper(BS->Stall, 1, 3 * 1000 * 1000);
@@ -96,7 +96,7 @@ CHAR16 *get_volume_custom_label(EFI_FILE_HANDLE fh)
                return NULL;
        }
        buffer[buffsize] = L'\0';
-       (void)uefi_call_wrapper(fh->Close, 1, tmp);
+       (VOID)uefi_call_wrapper(fh->Close, 1, tmp);
        return buffer;
 }
 
-- 
2.26.2

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/d6875dfb04dfbd5f5e4a636a96a637211710be50.1611815602.git.jan.kiszka%40siemens.com.

Reply via email to