From: Christian Storm <[email protected]> Make the #include'd headers explicit rather than implicit.
Signed-off-by: Christian Storm <[email protected]> --- include/env_config_file.h | 2 ++ include/env_config_partitions.h | 3 +++ include/env_disk_utils.h | 3 +++ include/envdata.h | 2 ++ 4 files changed, 10 insertions(+) diff --git a/include/env_config_file.h b/include/env_config_file.h index 081c922..7c286da 100644 --- a/include/env_config_file.h +++ b/include/env_config_file.h @@ -13,6 +13,8 @@ */ #pragma once +#include <stdio.h> +#include "env_api.h" FILE *open_config_file_from_part(CONFIG_PART *cfgpart, char *mode); FILE *open_config_file(char *configfilepath, char *mode); diff --git a/include/env_config_partitions.h b/include/env_config_partitions.h index c6cd033..ca7eeeb 100644 --- a/include/env_config_partitions.h +++ b/include/env_config_partitions.h @@ -14,5 +14,8 @@ #pragma once +#include <stdbool.h> +#include "env_api.h" + bool probe_config_partitions(CONFIG_PART *cfgpart); diff --git a/include/env_disk_utils.h b/include/env_disk_utils.h index eafdb59..d26f905 100644 --- a/include/env_disk_utils.h +++ b/include/env_disk_utils.h @@ -14,6 +14,9 @@ #pragma once +#include <stdbool.h> +#include "env_api.h" + char *get_mountpoint(char *devpath); bool mount_partition(CONFIG_PART *cfgpart); void unmount_partition(CONFIG_PART *cfgpart); diff --git a/include/envdata.h b/include/envdata.h index e1f6195..458e948 100644 --- a/include/envdata.h +++ b/include/envdata.h @@ -14,6 +14,8 @@ #pragma once +#include <stdint.h> + #define FAT_ENV_FILENAME "BGENV.DAT" #define ENV_STRING_LENGTH 255 -- 2.30.0 -- 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/20210110085200.13434-5-christian.storm%40siemens.com.
