From e3d2fe34cf964363cd57c1e6d3072e7a8434988f Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 8 Dec 2022 21:51:03 -0600 Subject: [PATCH] Bugfix: Some of the level checking defines have an "s" that should not be there. Fix incorrect _di_level_0_parameters_checking_, replacing it with _di_level_0_parameter_checking_. Fix incorrect _di_level_2_parameters_checking_, replacing it with _di_level_2_parameter_checking_. --- level_0/f_color/c/color/common.c | 8 ++++---- level_0/f_console/c/console/common.c | 8 ++++---- level_2/fll_program/c/program/common.c | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/level_0/f_color/c/color/common.c b/level_0/f_color/c/color/common.c index 45ef813..27f4f03 100644 --- a/level_0/f_color/c/color/common.c +++ b/level_0/f_color/c/color/common.c @@ -60,9 +60,9 @@ extern "C" { #ifndef _di_f_color_context_delete_ f_status_t f_color_context_delete(f_color_context_t * const context) { - #ifndef _di_level_0_parameters_checking_ + #ifndef _di_level_0_parameter_checking_ if (!context) return F_status_set_error(F_parameter); - #endif // _di_level_0_parameters_checking_ + #endif // _di_level_0_parameter_checking_ f_status_t status = F_none; @@ -114,9 +114,9 @@ extern "C" { #ifndef _di_f_color_context_destroy_ f_status_t f_color_context_destroy(f_color_context_t * const context) { - #ifndef _di_level_0_parameters_checking_ + #ifndef _di_level_0_parameter_checking_ if (!context) return F_status_set_error(F_parameter); - #endif // _di_level_0_parameters_checking_ + #endif // _di_level_0_parameter_checking_ f_status_t status = F_none; diff --git a/level_0/f_console/c/console/common.c b/level_0/f_console/c/console/common.c index ea6a9e1..850cdc0 100644 --- a/level_0/f_console/c/console/common.c +++ b/level_0/f_console/c/console/common.c @@ -42,9 +42,9 @@ extern "C" { #ifndef _di_f_console_parameters_delete_ f_status_t f_console_parameters_delete(f_console_parameters_t * const parameters) { - #ifndef _di_level_0_parameters_checking_ + #ifndef _di_level_0_parameter_checking_ if (!parameters) return F_status_set_error(F_parameter); - #endif // _di_level_0_parameters_checking_ + #endif // _di_level_0_parameter_checking_ f_status_t status = F_none; @@ -72,9 +72,9 @@ extern "C" { #ifndef _di_f_console_parameters_destroy_ f_status_t f_console_parameters_destroy(f_console_parameters_t * const parameters) { - #ifndef _di_level_0_parameters_checking_ + #ifndef _di_level_0_parameter_checking_ if (!parameters) return F_status_set_error(F_parameter); - #endif // _di_level_0_parameters_checking_ + #endif // _di_level_0_parameter_checking_ f_status_t status = F_none; diff --git a/level_2/fll_program/c/program/common.c b/level_2/fll_program/c/program/common.c index d3446d5..0552864 100644 --- a/level_2/fll_program/c/program/common.c +++ b/level_2/fll_program/c/program/common.c @@ -11,9 +11,9 @@ extern "C" { #ifndef _di_fll_program_data_delete_ f_status_t fll_program_data_delete(fll_program_data_t * const data) { - #ifndef _di_level_2_parameters_checking_ + #ifndef _di_level_2_parameter_checking_ if (!data) return F_status_set_error(F_parameter); - #endif // _di_level_2_parameters_checking_ + #endif // _di_level_2_parameter_checking_ f_status_t status = F_none; @@ -29,9 +29,9 @@ extern "C" { #ifndef _di_fll_program_data_destroy_ f_status_t fll_program_data_destroy(fll_program_data_t * const data) { - #ifndef _di_level_2_parameters_checking_ + #ifndef _di_level_2_parameter_checking_ if (!data) return F_status_set_error(F_parameter); - #endif // _di_level_2_parameters_checking_ + #endif // _di_level_2_parameter_checking_ f_status_t status = F_none; -- 1.8.3.1