From d07ad201bab3bbd4b5c00890a6ea08aaad8911a3 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 2983f2b..945e148 100644 --- a/level_0/f_file/c/file/common.h +++ b/level_0/f_file/c/file/common.h @@ -372,7 +372,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 @@ -452,7 +452,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 d04d4ae..8417a75 100644 --- a/level_0/f_fss/c/fss/common.h +++ b/level_0/f_fss/c/fss/common.h @@ -311,7 +311,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 @@ -331,7 +331,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