From: Kevin Day Date: Thu, 18 Jan 2024 02:49:00 +0000 (-0600) Subject: Bugfix: Function private_fl_fss_basic_write() is missing "const". X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=699ac9ddb7bf1e4a262e1c7d55e06ffb251a1599;p=fll Bugfix: Function private_fl_fss_basic_write() is missing "const". The function implementations for private_fl_fss_basic_write() is missing the "const" type attribute in some parameters. The declaration of these has the "const" type attribute as expected. This inconsistency is considered a bug. --- diff --git a/level_1/fl_fss/c/private-fss.c b/level_1/fl_fss/c/private-fss.c index 343f085..7385d41 100644 --- a/level_1/fl_fss/c/private-fss.c +++ b/level_1/fl_fss/c/private-fss.c @@ -728,7 +728,7 @@ extern "C" { #endif // !defined(_di_fl_fss_basic_object_read_) || !defined(_di_fl_fss_extended_object_read_) #if !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_) || !defined(_di_fl_fss_extended_content_write_) - void private_fl_fss_basic_write(const bool object_as, const f_string_static_t object, const uint8_t quote, f_range_t *range, f_string_dynamic_t *destination, f_state_t * const state, void * const internal) { + void private_fl_fss_basic_write(const bool object_as, const f_string_static_t object, const uint8_t quote, f_range_t * const range, f_string_dynamic_t * const destination, f_state_t * const state, void * const internal) { f_fss_skip_past_space(object, range, state); if (F_status_is_error(state->status)) return;