From eb218065afaff05a6e45e72097a28428457cd3a9 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 12 Aug 2023 16:48:26 -0500 Subject: [PATCH] Cleanup: Remove duplicate headers present in the wrong file. This is likely a result of an incomplete relocation of these functions to the private file. They are not needed and removing them neither breaks API nor ABI. --- level_0/f_iki/c/private-iki.h | 134 ------------------------------------------ 1 file changed, 134 deletions(-) diff --git a/level_0/f_iki/c/private-iki.h b/level_0/f_iki/c/private-iki.h index df6a114..2b8a90d 100644 --- a/level_0/f_iki/c/private-iki.h +++ b/level_0/f_iki/c/private-iki.h @@ -44,140 +44,6 @@ extern "C" { #endif // !defined(_di_f_iki_content_is_) || !defined(_di_f_iki_content_partial_is_) /** - * Private implementation for resizing the iki_datas array. - * - * Intended to be shared to each of the different implementation variations. - * - * @param length - * The length to adjust to. - * @param datas - * The IKI datas array to adjust. - * - * @return - * F_none on success. - * F_data_not on success, but there is no reason to increase size (used + 1 <= size). - * - * Errors (with error bit) from: f_array_lengths_adjust(). - * Errors (with error bit) from: f_memory_adjust(). - * Errors (with error bit) from: f_string_ranges_adjust(). - * - * @see f_array_lengths_adjust() - * @see f_memory_adjust() - * @see f_string_ranges_adjust() - */ -#if !defined(_di_f_iki_datas_adjust_) || !defined(_di_f_iki_datas_decimate_by_) - extern f_status_t private_f_iki_datas_adjust(const f_array_length_t length, f_iki_datas_t *datas) F_attribute_visibility_internal_d; -#endif // !defined(_di_f_iki_datas_adjust_) || !defined(_di_f_iki_datas_decimate_by_) - -/** - * Private implementation for appending the iki_data array. - * - * Intended to be shared to each of the different implementation variations. - * - * @param source - * The source iki_datas to append. - * @param destination - * The destination lengths the source is appended onto. - * - * @return - * F_none on success. - * - * Errors (with error bit) from: f_memory_resize(). - * - * @see f_memory_resize() - * @see f_iki_datas_append_all() - * @see f_iki_datass_append() - * @see f_iki_datass_append_all() - */ -#if !defined(_di_f_iki_datas_append_) || !defined(_di_f_iki_datas_append_all_) || !defined(_di_f_iki_datass_append_all_) - extern f_status_t private_f_iki_datas_append_all(const f_iki_datas_t source, f_iki_datas_t *destination) F_attribute_visibility_internal_d; -#endif // !defined(_di_f_iki_datas_append_) || !defined(_di_f_iki_datas_append_all_) || !defined(_di_f_iki_datass_append_all_) - -/** - * Private implementation for resizing the iki_datas array. - * - * Intended to be shared to each of the different implementation variations. - * - * @param length - * The length to adjust to. - * @param datas - * The IKI datas array to adjust. - * - * @return - * F_none on success. - * F_data_not on success, but there is no reason to increase size (used + 1 <= size). - * - * Errors (with error bit) from: f_array_lengths_resize(). - * Errors (with error bit) from: f_memory_resize(). - * Errors (with error bit) from: f_string_ranges_resize(). - * - * @see f_array_lengths_resize() - * @see f_memory_resize() - * @see f_string_ranges_resize() - */ -#if !defined(_di_f_iki_datas_append_) || !defined(_di_f_iki_datas_decrease_by_) || !defined(_di_f_iki_datas_increase_) || !defined(_di_f_iki_datas_increase_by_) || !defined(_di_f_iki_datas_resize_) - extern f_status_t private_f_iki_datas_resize(const f_array_length_t length, f_iki_datas_t *datas) F_attribute_visibility_internal_d; -#endif // !defined(_di_f_iki_datas_append_) || !defined(_di_f_iki_datas_decrease_by_) || !defined(_di_f_iki_datas_increase_) || !defined(_di_f_iki_datas_increase_by_) || !defined(_di_f_iki_datas_resize_) - -/** - * Private implementation for resizing the iki_datass array. - * - * Intended to be shared to each of the different implementation variations. - * - * @param length - * The length to adjust to. - * @param iki_datass - * The iki_datass array to adjust. - * - * @return - * F_none on success. - * F_data_not on success, but there is no reason to increase size (used + 1 <= size). - * - * F_array_too_large (with error bit) if new length is larger than max array length. - * F_memory_not (with error bit) on out of memory. - * F_parameter (with error bit) if a parameter is invalid. - * - * Errors (with error bit) from: f_memory_adjust(). - * Errors (with error bit) from: f_memory_destroy(). - * - * @see f_iki_datass_adjust() - * @see f_iki_datass_decimate_by() - */ -#if !defined(_di_f_iki_datass_adjust_) || !defined(_di_f_iki_datass_decimate_by_) - extern f_status_t private_f_iki_datass_adjust(const f_array_length_t length, f_iki_datass_t *datass) F_attribute_visibility_internal_d; -#endif // !defined(_di_f_iki_datass_adjust_) || !defined(_di_f_iki_datass_decimate_by_) - -/** - * Private implementation for resizing the iki_datass array. - * - * Intended to be shared to each of the different implementation variations. - * - * @param length - * The length to resize to. - * @param iki_datass - * The iki_datass array to resize. - * - * @return - * F_none on success. - * F_data_not on success, but there is no reason to increase size (used + 1 <= size). - * - * F_array_too_large (with error bit) if new length is larger than max array length. - * F_memory_not (with error bit) on out of memory. - * F_parameter (with error bit) if a parameter is invalid. - * - * Errors (with error bit) from: f_memory_delete(). - * Errors (with error bit) from: f_memory_resize(). - * - * @see f_iki_datass_decrease_by() - * @see f_iki_datass_increase() - * @see f_iki_datass_increase_by() - * @see f_iki_datass_resize() - */ -#if !defined(_di_f_iki_datass_decrease_by_) || !defined(_di_f_iki_datass_increase_) || !defined(_di_f_iki_datass_increase_by_) || !defined(_di_f_iki_datass_resize_) - extern f_status_t private_f_iki_datass_resize(const f_array_length_t length, f_iki_datass_t *datass) F_attribute_visibility_internal_d; -#endif // !defined(_di_f_iki_datass_decrease_by_) || !defined(_di_f_iki_datass_increase_) || !defined(_di_f_iki_datass_increase_by_) || !defined(_di_f_iki_datass_resize_) - -/** * Private implementation of f_iki_object_partial_is(). * * Intended to be shared to each of the different implementation variations. -- 1.8.3.1