From 5b52e790c922c515babaabae7ff2340086958dfa 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 725f8da..24d703a 100644 --- a/level_0/f_color/c/color/common.c +++ b/level_0/f_color/c/color/common.c @@ -186,9 +186,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; @@ -240,9 +240,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 9928fbf..9b04b9c 100644 --- a/level_0/f_console/c/console/common.c +++ b/level_0/f_console/c/console/common.c @@ -138,9 +138,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; @@ -168,9 +168,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 2a82c60..b6fd174 100644 --- a/level_2/fll_program/c/program/common.c +++ b/level_2/fll_program/c/program/common.c @@ -16,9 +16,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; @@ -34,9 +34,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