From c322f3d94430d873bcfe5797d26f68c7ddd41fe7 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 7 Dec 2022 18:33:45 -0600 Subject: [PATCH] Update: The ifndef wrappers should end in _t_ to represent it wrapping a type. --- level_0/f_file/c/file/common.h | 4 ++-- level_0/f_fss/c/fss/common.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/level_0/f_file/c/file/common.h b/level_0/f_file/c/file/common.h index bce9be7..f51bfb8 100644 --- a/level_0/f_file/c/file/common.h +++ b/level_0/f_file/c/file/common.h @@ -322,7 +322,7 @@ extern "C" { * The file mode macros with "f_file_mode_" prefix (has no "_t") refer to the first type (mode_t). * The file mode macros with "f_file_mode_t" prefix refer to the second type (f_file_mode_t). */ -#ifndef _di_f_file_mode_ +#ifndef _di_f_file_mode_t_ typedef uint32_t f_file_mode_t; #define f_file_mode_t_initialize 0 @@ -402,7 +402,7 @@ extern "C" { #define F_file_mode_user_file_d (F_file_mode_owner_rw_d | F_file_mode_group_rw_d) #define F_file_mode_user_program_d (F_file_mode_owner_rx_d | F_file_mode_group_rx_d) #define F_file_mode_user_protected_d (F_file_mode_owner_r_d | F_file_mode_group_r_d) -#endif // _di_f_file_mode_ +#endif // _di_f_file_mode_t_ /** * File flag related to file statistics. diff --git a/level_0/f_fss/c/fss/common.h b/level_0/f_fss/c/fss/common.h index e6c9a92..ef61bc0 100644 --- a/level_0/f_fss/c/fss/common.h +++ b/level_0/f_fss/c/fss/common.h @@ -305,7 +305,7 @@ enum { * size: Total amount of allocated space. * used: Total number of allocated spaces used. */ -#ifndef _di_f_fss_content_ +#ifndef _di_f_fss_content_t_ typedef f_string_ranges_t f_fss_content_t; #define f_fss_content_t_initialize f_string_ranges_t_initialize @@ -325,7 +325,7 @@ enum { #define macro_f_fss_content_t_increase_by(status, content, amount) macro_f_string_ranges_t_increase_by(status, content, amount) #define macro_f_fss_content_t_decrease_by(status, content, amount) macro_f_string_ranges_t_decrease_by(status, content, amount) #define macro_f_fss_content_t_decimate_by(status, content, amount) macro_f_string_ranges_t_decimate_by(status, content, amount) -#endif // _di_f_fss_content_ +#endif // _di_f_fss_content_t_ /** * This holds an array of fss_content. -- 1.8.3.1