]> Kevux Git Server - fll/commitdiff
Bugfix: Function private_fl_fss_basic_write() is missing "const".
authorKevin Day <thekevinday@gmail.com>
Thu, 18 Jan 2024 02:49:00 +0000 (20:49 -0600)
committerKevin Day <thekevinday@gmail.com>
Thu, 18 Jan 2024 02:49:00 +0000 (20:49 -0600)
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.

level_1/fl_fss/c/private-fss.c

index 343f08505d71fce7f23c765b4cc5587f27f99cc8..7385d41776a47a97f70cc82594b3f62ce5c25d3b 100644 (file)
@@ -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;