From: Kevin Day Date: Wed, 28 Apr 2021 23:08:29 +0000 (-0500) Subject: Update: Fix problems and make changes after testing LLVM's Clang compiler. X-Git-Tag: 0.5.3~2 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=710bbfd684be48b3e60279427da5eeacd3906104;p=fll Update: Fix problems and make changes after testing LLVM's Clang compiler. Add flags "-Wno-logical-not-parentheses" "-Wno-logical-op-parentheses". Programmers should be expected to understand the language they are working. Having the compiler for a style is bad practice. The cap_to_text() needs ssize_t, do not use f_array_length_t. The project is inconsistently using int8_t and uint8_t for character types. Furthermore, clang likes to complain about uint8_t being converted to char. (I believe uint8_t is supposed to be of type unsigned char and char by default is supposed to be unsigned.) Fix the inconsistency and just use char, which happens to make clang happy without any complaints from gcc. Clang does a much better job at detecting some problems than GCC. Compiling with clang resulted in revealing several printf related problems that now should be fixed. The f_gcc_attribute_visibility_internal (and related) have the "_gcc" removed because these seem to exist beyond just gcc (such as with clang). Make sure something is always returned. There are some functions that didn't have a return. One of the UTF processing functions has an accidental hex character in the condition. Remove the extra character, which I am pretty sure is the leading "d". I have not validated the correct sequence and so further investigation in the proper sequence for U+1D7CE to U+1D7D7 may be warranted. The clang compiler claims that int main() should only be an integer for the argc. This is unfortunate but that is fine, switch to use an int instead of an unsigned long. --- diff --git a/build/level_0/settings b/build/level_0/settings index cfa62c1..2c580c1 100644 --- a/build/level_0/settings +++ b/build/level_0/settings @@ -51,7 +51,7 @@ defines_all-level_threadless -D_di_pthread_support_ defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_all-level -pthread flags_shared flags_static diff --git a/build/level_1/settings b/build/level_1/settings index 8a059ac..3de29fa 100644 --- a/build/level_1/settings +++ b/build/level_1/settings @@ -51,7 +51,7 @@ defines_all-level_threadless -D_di_pthread_support_ defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_all-level -pthread flags_shared flags_static diff --git a/build/level_2/settings b/build/level_2/settings index c8a4043..fd649b9 100644 --- a/build/level_2/settings +++ b/build/level_2/settings @@ -51,7 +51,7 @@ defines_all-level_threadless -D_di_pthread_support_ defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_all-level -pthread flags_shared flags_static diff --git a/build/monolithic/settings b/build/monolithic/settings index 08134fe..dc91eba 100644 --- a/build/monolithic/settings +++ b/build/monolithic/settings @@ -51,7 +51,7 @@ defines_all-monolithic_threadless -D_di_pthread_support_ defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_all-monolithic -pthread flags_shared flags_static diff --git a/level_0/f_account/c/private-account.h b/level_0/f_account/c/private-account.h index cc6f433..2f45528 100644 --- a/level_0/f_account/c/private-account.h +++ b/level_0/f_account/c/private-account.h @@ -39,7 +39,7 @@ extern "C" { * @see f_macro_string_dynamic_t_resize() */ #if !defined(_di_f_account_by_name_) || !defined(_di_f_account_by_id_) - extern f_status_t private_f_account_from_passwd(const struct passwd password, const f_array_length_t password_length, f_account_t *account) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_account_from_passwd(const struct passwd password, const f_array_length_t password_length, f_account_t *account) f_attribute_visibility_internal; #endif // !defined(_di_f_account_by_name_) || !defined(_di_f_account_by_id_) #ifdef __cplusplus diff --git a/level_0/f_account/data/build/settings b/level_0/f_account/data/build/settings index e3b76da..41b7a89 100644 --- a/level_0/f_account/data/build/settings +++ b/level_0/f_account/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_capability/c/capability.c b/level_0/f_capability/c/capability.c index a8c32ec..bdb0644 100644 --- a/level_0/f_capability/c/capability.c +++ b/level_0/f_capability/c/capability.c @@ -1082,7 +1082,7 @@ extern "C" { if (!text) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ - f_array_length_t length = 0; + ssize_t length = 0; char *result = cap_to_text(capability, &length); diff --git a/level_0/f_capability/data/build/settings b/level_0/f_capability/data/build/settings index 782a27b..a66bcb3 100644 --- a/level_0/f_capability/data/build/settings +++ b/level_0/f_capability/data/build/settings @@ -49,7 +49,7 @@ defines_all -D_libcap_legacy_only_ defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_color/c/color-common.h b/level_0/f_color/c/color-common.h index cda622f..c56a26a 100644 --- a/level_0/f_color/c/color-common.h +++ b/level_0/f_color/c/color-common.h @@ -21,7 +21,7 @@ extern "C" { #endif // _di_f_color_max_size_ #ifndef _di_f_color_types_t_ - typedef uint8_t f_color_code_t; + typedef char f_color_code_t; #define f_color_code_none 0 #define f_color_code_linux 1 @@ -95,9 +95,9 @@ extern "C" { #ifndef _di_f_color_format_t_ typedef struct { - const int8_t *begin; - const int8_t *end; - const int8_t *medium; + const char *begin; + const char *end; + const char *medium; } f_color_format_t; #define f_color_format_t_initialize_linux { f_color_string_begin_s, f_color_string_end_s, f_color_string_medium_s } @@ -111,12 +111,12 @@ extern "C" { #define f_macro_color_format_t_set_linux(format) \ format.begin = f_color_string_begin_s; \ format.end = f_color_string_end_s; \ - format.medium = f_color_string_medium_s; + format.medium = f_color_string_medium_s; #define f_macro_color_format_t_set_xterminal(format) \ format.begin = f_color_string_begin_s; \ format.end = f_color_string_end_s; \ - format.medium = f_color_string_medium_s; + format.medium = f_color_string_medium_s; #endif // _di_f_color_format_t_ /** @@ -130,44 +130,44 @@ extern "C" { */ #ifndef _di_f_color_t_ typedef struct { - const int8_t *reset; - const int8_t *bold; - const int8_t *underline; - const int8_t *blink; - const int8_t *reverse; - const int8_t *conceal; - const int8_t *black; - const int8_t *red; - const int8_t *green; - const int8_t *yellow; - const int8_t *blue; - const int8_t *purple; - const int8_t *teal; - const int8_t *white; - const int8_t *black_bg; - const int8_t *red_bg; - const int8_t *green_bg; - const int8_t *yellow_bg; - const int8_t *blue_bg; - const int8_t *purple_bg; - const int8_t *teal_bg; - const int8_t *white_bg; - const int8_t *bright_black; - const int8_t *bright_red; - const int8_t *bright_green; - const int8_t *bright_yellow; - const int8_t *bright_blue; - const int8_t *bright_purple; - const int8_t *bright_teal; - const int8_t *bright_white; - const int8_t *bright_black_bg; - const int8_t *bright_red_bg; - const int8_t *bright_green_bg; - const int8_t *bright_yellow_bg; - const int8_t *bright_blue_bg; - const int8_t *bright_purple_bg; - const int8_t *bright_teal_bg; - const int8_t *bright_white_bg; + const char *reset; + const char *bold; + const char *underline; + const char *blink; + const char *reverse; + const char *conceal; + const char *black; + const char *red; + const char *green; + const char *yellow; + const char *blue; + const char *purple; + const char *teal; + const char *white; + const char *black_bg; + const char *red_bg; + const char *green_bg; + const char *yellow_bg; + const char *blue_bg; + const char *purple_bg; + const char *teal_bg; + const char *white_bg; + const char *bright_black; + const char *bright_red; + const char *bright_green; + const char *bright_yellow; + const char *bright_blue; + const char *bright_purple; + const char *bright_teal; + const char *bright_white; + const char *bright_black_bg; + const char *bright_red_bg; + const char *bright_green_bg; + const char *bright_yellow_bg; + const char *bright_blue_bg; + const char *bright_purple_bg; + const char *bright_teal_bg; + const char *bright_white_bg; } f_color_t; #define f_color_t_initialize_linux { f_color_string_code_reset_s, f_color_string_code_bold_s, f_color_string_code_underline_s, f_color_string_code_blink_s, f_color_string_code_reverse_s, f_color_string_code_conceal_s, f_color_string_code_black_s, f_color_string_code_red_s, f_color_string_code_green_s, f_color_string_code_yellow_s, f_color_string_code_blue_s, f_color_string_code_purple_s, f_color_string_code_teal_s, f_color_string_code_white_s, f_color_string_code_black_bg_s, f_color_string_code_red_bg_s, f_color_string_code_green_bg_s, f_color_string_code_yellow_bg_s, f_color_string_code_blue_bg_s, f_color_string_code_purple_bg_s, f_color_string_code_teal_bg_s, f_color_string_code_white_bg_s, f_color_string_code_black_s, f_color_string_code_red_s, f_color_string_code_green_s, f_color_string_code_yellow_s, f_color_string_code_blue_s, f_color_string_code_purple_s, f_color_string_code_teal_s, f_color_string_code_white_s, f_color_string_code_black_bg_s, f_color_string_code_red_bg_s, f_color_string_code_green_bg_s, f_color_string_code_yellow_bg_s, f_color_string_code_blue_bg_s, f_color_string_code_purple_bg_s, f_color_string_code_teal_bg_s, f_color_string_code_white_bg_s } @@ -281,7 +281,7 @@ extern "C" { color.bright_green = f_color_string_code_bright_green_s; \ color.bright_yellow = f_color_string_code_bright_yellow_s; \ color.bright_blue = f_color_string_code_bright_blue_s; \ - color.bright_purple= f_color_string_code_bright_purple_s; \ + color.bright_purple = f_color_string_code_bright_purple_s; \ color.bright_teal = f_color_string_code_bright_teal_s; \ color.bright_white = f_color_string_code_bright_white_s; \ color.bright_black_bg = f_color_string_code_bright_black_bg_s; \ diff --git a/level_0/f_color/c/color.c b/level_0/f_color/c/color.c index bd835fa..d2afcca 100644 --- a/level_0/f_color/c/color.c +++ b/level_0/f_color/c/color.c @@ -5,7 +5,7 @@ extern "C" { #endif #ifndef _di_f_color_set_ - f_status_t f_color_set(FILE *stream, const f_color_format_t format, const int8_t *color1, const int8_t *color2, const int8_t *color3, const int8_t *color4, const int8_t *color5) { + f_status_t f_color_set(FILE *stream, const f_color_format_t format, const char *color1, const char *color2, const char *color3, const char *color4, const char *color5) { #ifndef _di_level_1_parameter_checking_ if (!stream) return F_status_set_error(F_parameter); if (!color1) return F_status_set_error(F_parameter); @@ -27,7 +27,7 @@ extern "C" { #endif // _di_f_color_set_ #ifndef _di_f_color_set_to_ - f_status_t f_color_set_to(const int id, const f_color_format_t format, const int8_t *color1, const int8_t *color2, const int8_t *color3, const int8_t *color4, const int8_t *color5) { + f_status_t f_color_set_to(const int id, const f_color_format_t format, const char *color1, const char *color2, const char *color3, const char *color4, const char *color5) { #ifndef _di_level_1_parameter_checking_ if (id == -1) return F_status_set_error(F_parameter); if (!color1) return F_status_set_error(F_parameter); @@ -49,7 +49,7 @@ extern "C" { #endif // _di_f_color_set_to_ #ifndef _di_f_color_save_ - f_status_t f_color_save(f_string_dynamic_t *buffer, const f_color_format_t format, const int8_t *color1, const int8_t *color2, const int8_t *color3, const int8_t *color4, const int8_t *color5) { + f_status_t f_color_save(f_string_dynamic_t *buffer, const f_color_format_t format, const char *color1, const char *color2, const char *color3, const char *color4, const char *color5) { #ifndef _di_level_1_parameter_checking_ if (!buffer) return F_status_set_error(F_parameter); if (!color1) return F_status_set_error(F_parameter); @@ -301,7 +301,7 @@ extern "C" { // switch to the appropriate terminal color mode { - int8_t *environment = getenv("TERM"); + char *environment = getenv("TERM"); if (!environment || strncmp(environment, "linux", 6) == 0) { f_macro_color_t_set_linux(context->list); diff --git a/level_0/f_color/c/color.h b/level_0/f_color/c/color.h index d0edb9c..d5406de 100644 --- a/level_0/f_color/c/color.h +++ b/level_0/f_color/c/color.h @@ -55,7 +55,7 @@ extern "C" { * F_parameter (with error bit) if a parameter is invalid. */ #ifndef _di_f_color_set_ - extern f_status_t f_color_set(FILE *stream, const f_color_format_t format, const int8_t *color1, const int8_t *color2, const int8_t *color3, const int8_t *color4, const int8_t *color5); + extern f_status_t f_color_set(FILE *stream, const f_color_format_t format, const char *color1, const char *color2, const char *color3, const char *color4, const char *color5); #define fl_macro_color_set_1(stream, format, color1) f_color_set(stream, format, color1, 0, 0, 0, 0); #define fl_macro_color_set_2(stream, format, color1, color2) f_color_set(stream, format, color1, color2, 0, 0, 0); @@ -89,7 +89,7 @@ extern "C" { * F_parameter (with error bit) if a parameter is invalid. */ #ifndef _di_f_color_set_to_ - extern f_status_t f_color_set_to(const int id, const f_color_format_t format, const int8_t *color1, const int8_t *color2, const int8_t *color3, const int8_t *color4, const int8_t *color5); + extern f_status_t f_color_set_to(const int id, const f_color_format_t format, const char *color1, const char *color2, const char *color3, const char *color4, const char *color5); #define fl_macro_color_set_to_1(id, format, color1) f_color_set_to(id, format, color1, 0, 0, 0, 0); #define fl_macro_color_set_to_2(id, format, color1, color2) f_color_set_to(id, format, color1, color2, 0, 0, 0); @@ -124,7 +124,7 @@ extern "C" { * F_parameter (with error bit) if a parameter is invalid. */ #ifndef _di_f_color_save_ - extern f_status_t f_color_save(f_string_dynamic_t *buffer, const f_color_format_t format, const int8_t *color1, const int8_t *color2, const int8_t *color3, const int8_t *color4, const int8_t *color5); + extern f_status_t f_color_save(f_string_dynamic_t *buffer, const f_color_format_t format, const char *color1, const char *color2, const char *color3, const char *color4, const char *color5); #define fl_macro_color_save_1(buffer, format, color1) f_color_save(buffer, format, color1, 0, 0, 0, 0); #define fl_macro_color_save_2(buffer, format, color1, color2) f_color_save(buffer, format, color1, color2, 0, 0, 0); diff --git a/level_0/f_color/data/build/settings b/level_0/f_color/data/build/settings index ef880f8..3a4c6aa 100644 --- a/level_0/f_color/data/build/settings +++ b/level_0/f_color/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_console/c/console-common.h b/level_0/f_console/c/console-common.h index 47d55f4..200399a 100644 --- a/level_0/f_console/c/console-common.h +++ b/level_0/f_console/c/console-common.h @@ -238,9 +238,9 @@ extern "C" { */ #ifndef _di_f_console_parameter_t_ typedef struct { - const int8_t *symbol_short; - const int8_t *symbol_long; - const int8_t *symbol_other; + const char *symbol_short; + const char *symbol_long; + const char *symbol_other; const uint8_t has_values; const uint8_t type; diff --git a/level_0/f_console/data/build/settings b/level_0/f_console/data/build/settings index 1b61fd0..5d3830a 100644 --- a/level_0/f_console/data/build/settings +++ b/level_0/f_console/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_control_group/data/build/settings b/level_0/f_control_group/data/build/settings index 9b44872..c0cf577 100644 --- a/level_0/f_control_group/data/build/settings +++ b/level_0/f_control_group/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_conversion/c/conversion.c b/level_0/f_conversion/c/conversion.c index 3f98210..51248ae 100644 --- a/level_0/f_conversion/c/conversion.c +++ b/level_0/f_conversion/c/conversion.c @@ -5,7 +5,7 @@ extern "C" { #endif #ifndef _di_f_conversion_character_is_binary_ - f_status_t f_conversion_character_is_binary(const int8_t character) { + f_status_t f_conversion_character_is_binary(const char character) { if (character == 0x30 || character == 0x31) { return F_true; @@ -16,7 +16,7 @@ extern "C" { #endif // _di_f_conversion_character_is_binary_ #ifndef _di_f_conversion_character_is_decimal_ - f_status_t f_conversion_character_is_decimal(const int8_t character) { + f_status_t f_conversion_character_is_decimal(const char character) { if (character > 0x29 && character < 0x40) { return F_true; @@ -27,7 +27,7 @@ extern "C" { #endif // _di_f_conversion_character_is_decimal_ #ifndef _di_f_conversion_character_is_duodecimal_ - f_status_t f_conversion_character_is_duodecimal(const int8_t character) { + f_status_t f_conversion_character_is_duodecimal(const char character) { if (character > 0x29 && character < 0x40) { return F_true; @@ -46,7 +46,7 @@ extern "C" { #endif // _di_f_conversion_character_is_duodecimal_ #ifndef _di_f_conversion_character_is_hexidecimal_ - f_status_t f_conversion_character_is_hexidecimal(const int8_t character) { + f_status_t f_conversion_character_is_hexidecimal(const char character) { if (character > 0x29 && character < 0x40) { return F_true; @@ -63,7 +63,7 @@ extern "C" { #endif // _di_f_conversion_character_is_hexidecimal_ #ifndef _di_f_conversion_character_is_octal_ - f_status_t f_conversion_character_is_octal(const int8_t character) { + f_status_t f_conversion_character_is_octal(const char character) { if (character > 0x29 && character < 0x38) { return F_true; @@ -74,7 +74,7 @@ extern "C" { #endif // _di_f_conversion_character_is_octal_ #ifndef _di_f_conversion_character_to_binary_ - f_status_t f_conversion_character_to_binary(const int8_t character, f_number_unsigned_t *number) { + f_status_t f_conversion_character_to_binary(const char character, f_number_unsigned_t *number) { #ifndef _di_level_0_parameter_checking_ if (!number) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ @@ -91,7 +91,7 @@ extern "C" { #endif // _di_f_conversion_character_to_binary_ #ifndef _di_f_conversion_character_to_decimal_ - f_status_t f_conversion_character_to_decimal(const int8_t character, f_number_unsigned_t *number) { + f_status_t f_conversion_character_to_decimal(const char character, f_number_unsigned_t *number) { #ifndef _di_level_0_parameter_checking_ if (!number) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ @@ -116,7 +116,7 @@ extern "C" { #endif // _di_f_conversion_character_to_decimal_ #ifndef _di_f_conversion_character_to_duodecimal_ - f_status_t f_conversion_character_to_duodecimal(const int8_t character, f_number_unsigned_t *decimal) { + f_status_t f_conversion_character_to_duodecimal(const char character, f_number_unsigned_t *decimal) { #ifndef _di_level_0_parameter_checking_ if (!decimal) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ @@ -145,7 +145,7 @@ extern "C" { #endif // _di_f_conversion_character_to_duodecimal_ #ifndef _di_f_conversion_character_to_hexidecimal_ - f_status_t f_conversion_character_to_hexidecimal(const int8_t character, f_number_unsigned_t *decimal) { + f_status_t f_conversion_character_to_hexidecimal(const char character, f_number_unsigned_t *decimal) { #ifndef _di_level_0_parameter_checking_ if (!decimal) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ @@ -182,7 +182,7 @@ extern "C" { #endif // _di_f_conversion_character_to_hexidecimal_ #ifndef _di_f_conversion_character_to_octal_ - f_status_t f_conversion_character_to_octal(const int8_t character, f_number_unsigned_t *number) { + f_status_t f_conversion_character_to_octal(const char character, f_number_unsigned_t *number) { #ifndef _di_level_0_parameter_checking_ if (!number) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ diff --git a/level_0/f_conversion/c/conversion.h b/level_0/f_conversion/c/conversion.h index b6b3b31..f18d71b 100644 --- a/level_0/f_conversion/c/conversion.h +++ b/level_0/f_conversion/c/conversion.h @@ -39,7 +39,7 @@ extern "C" { * F_false if character is not a binary. */ #ifndef _di_f_conversion_character_is_binary_ - extern f_status_t f_conversion_character_is_binary(const int8_t character); + extern f_status_t f_conversion_character_is_binary(const char character); #endif // _di_f_conversion_character_is_binary_ /** @@ -53,7 +53,7 @@ extern "C" { * F_false if character is not a decimal. */ #ifndef _di_f_conversion_character_is_decimal_ - extern f_status_t f_conversion_character_is_decimal(const int8_t character); + extern f_status_t f_conversion_character_is_decimal(const char character); #endif // _di_f_conversion_character_is_decimal_ /** @@ -67,7 +67,7 @@ extern "C" { * F_false if character is not a duodecimal. */ #ifndef _di_f_conversion_character_is_duodecimal_ - extern f_status_t f_conversion_character_is_duodecimal(const int8_t character); + extern f_status_t f_conversion_character_is_duodecimal(const char character); #endif // _di_f_conversion_character_is_duodecimal_ /** @@ -81,7 +81,7 @@ extern "C" { * F_false if character is not a hexidecimal. */ #ifndef _di_f_conversion_character_is_hexidecimal_ - extern f_status_t f_conversion_character_is_hexidecimal(const int8_t character); + extern f_status_t f_conversion_character_is_hexidecimal(const char character); #endif // _di_f_conversion_character_is_hexidecimal_ /** @@ -95,7 +95,7 @@ extern "C" { * F_false if character is not an octal. */ #ifndef _di_f_conversion_character_is_octal_ - extern f_status_t f_conversion_character_is_octal(const int8_t character); + extern f_status_t f_conversion_character_is_octal(const char character); #endif // _di_f_conversion_character_is_octal_ /** @@ -113,7 +113,7 @@ extern "C" { * F_parameter (with error bit) if a parameter is invalid. */ #ifndef _di_f_conversion_character_to_binary_ - extern f_status_t f_conversion_character_to_binary(const int8_t character, f_number_unsigned_t *number); + extern f_status_t f_conversion_character_to_binary(const char character, f_number_unsigned_t *number); #endif // _di_f_conversion_character_to_binary_ /** @@ -131,7 +131,7 @@ extern "C" { * F_parameter (with error bit) if a parameter is invalid. */ #ifndef _di_f_conversion_character_to_decimal_ - extern f_status_t f_conversion_character_to_decimal(const int8_t character, f_number_unsigned_t *number); + extern f_status_t f_conversion_character_to_decimal(const char character, f_number_unsigned_t *number); #endif // _di_f_conversion_character_to_decimal_ /** @@ -149,7 +149,7 @@ extern "C" { * F_parameter (with error bit) if a parameter is invalid. */ #ifndef _di_f_conversion_character_to_duodecimal_ - extern f_status_t f_conversion_character_to_duodecimal(const int8_t character, f_number_unsigned_t *number); + extern f_status_t f_conversion_character_to_duodecimal(const char character, f_number_unsigned_t *number); #endif // _di_f_conversion_character_to_duodecimal_ /** @@ -167,7 +167,7 @@ extern "C" { * F_parameter (with error bit) if a parameter is invalid. */ #ifndef _di_f_conversion_character_to_hexidecimal_ - extern f_status_t f_conversion_character_to_hexidecimal(const int8_t character, f_number_unsigned_t *number); + extern f_status_t f_conversion_character_to_hexidecimal(const char character, f_number_unsigned_t *number); #endif // _di_f_conversion_character_to_hexidecimal_ /** @@ -185,7 +185,7 @@ extern "C" { * F_parameter (with error bit) if a parameter is invalid. */ #ifndef _di_f_conversion_character_to_octal_ - extern f_status_t f_conversion_character_to_octal(const int8_t character, f_number_unsigned_t *number); + extern f_status_t f_conversion_character_to_octal(const char character, f_number_unsigned_t *number); #endif // _di_f_conversion_character_to_octal_ /** diff --git a/level_0/f_conversion/data/build/settings b/level_0/f_conversion/data/build/settings index 5ec7434..64d5413 100644 --- a/level_0/f_conversion/data/build/settings +++ b/level_0/f_conversion/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_directory/c/private-directory.h b/level_0/f_directory/c/private-directory.h index 7ddbc13..8f8ce1c 100644 --- a/level_0/f_directory/c/private-directory.h +++ b/level_0/f_directory/c/private-directory.h @@ -45,7 +45,7 @@ extern "C" { * @see f_directory_touch() */ #if !defined(_di_f_directory_create_) || !defined(_di_f_directory_touch_) - extern f_status_t private_f_directory_create(const f_string_t path, const mode_t mode) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_directory_create(const f_string_t path, const mode_t mode) f_attribute_visibility_internal; #endif // !defined(_di_f_directory_create_) || !defined(_di_f_directory_touch_) /** @@ -82,7 +82,7 @@ extern "C" { * @see f_directory_touch_at() */ #if !defined(_di_f_directory_create_at_) || !defined(_di_f_directory_touch_at_) - extern f_status_t private_f_directory_create_at(const int at_id, const f_string_t path, const mode_t mode) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_directory_create_at(const int at_id, const f_string_t path, const mode_t mode) f_attribute_visibility_internal; #endif // !defined(_di_f_directory_create_at_) || !defined(_di_f_directory_touch_at_) /** @@ -109,7 +109,7 @@ extern "C" { * @see f_directory_remove() */ #if !defined(_di_f_directory_remove_) - extern int private_f_directory_remove_recursively(const char *path, const struct stat *file_stat, int type, struct FTW *entity) f_gcc_attribute_visibility_internal; + extern int private_f_directory_remove_recursively(const char *path, const struct stat *file_stat, int type, struct FTW *entity) f_attribute_visibility_internal; #endif // !defined(_di_f_directory_remove_) #ifdef __cplusplus diff --git a/level_0/f_directory/data/build/settings b/level_0/f_directory/data/build/settings index c790df0..ba0ec5d 100644 --- a/level_0/f_directory/data/build/settings +++ b/level_0/f_directory/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_environment/c/private-environment.h b/level_0/f_environment/c/private-environment.h index e94d913..3562e3c 100644 --- a/level_0/f_environment/c/private-environment.h +++ b/level_0/f_environment/c/private-environment.h @@ -38,7 +38,7 @@ extern "C" { * @see f_environment_get_dynamic() */ #if !defined(_di_f_environment_get_) || !defined(_di_f_environment_get_dynamic_) - extern f_status_t private_f_environment_get(const f_string_t name, f_string_dynamic_t *value) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_environment_get(const f_string_t name, f_string_dynamic_t *value) f_attribute_visibility_internal; #endif // !defined(_di_f_environment_get_) || !defined(_di_f_environment_get_dynamic_) /** @@ -65,7 +65,7 @@ extern "C" { * @see f_environment_set_dynamic() */ #if !defined(_di_f_environment_set_) || !defined(_di_f_environment_set_dynamic_) - extern f_status_t private_f_environment_set(const f_string_t name, const f_string_t value, const bool replace) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_environment_set(const f_string_t name, const f_string_t value, const bool replace) f_attribute_visibility_internal; #endif // !defined(_di_f_environment_set_) || !defined(_di_f_environment_set_dynamic_) /** @@ -85,7 +85,7 @@ extern "C" { * @see f_environment_unset_dynamic() */ #if !defined(_di_f_environment_unset_) || !defined(_di_f_environment_unset_dynamic_) - extern f_status_t private_f_environment_unset(const f_string_t name) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_environment_unset(const f_string_t name) f_attribute_visibility_internal; #endif // !defined(_di_f_environment_unset_) || !defined(_di_f_environment_unset_dynamic_) #ifdef __cplusplus diff --git a/level_0/f_environment/data/build/settings b/level_0/f_environment/data/build/settings index 2f41471..ca2dbb0 100644 --- a/level_0/f_environment/data/build/settings +++ b/level_0/f_environment/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_execute/data/build/settings b/level_0/f_execute/data/build/settings index a2e6549..e449b97 100644 --- a/level_0/f_execute/data/build/settings +++ b/level_0/f_execute/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_file/c/file.c b/level_0/f_file/c/file.c index fa7097a..3ebbae5 100644 --- a/level_0/f_file/c/file.c +++ b/level_0/f_file/c/file.c @@ -172,7 +172,7 @@ extern "C" { return F_none; } else if (f_macro_file_type_is_socket(source_stat.st_mode)) { - status = private_f_file_create_node(destination, f_macro_file_type_get(source_stat.st_mode) | (~f_file_type_mask) & mode.socket, source_stat.st_rdev); + status = private_f_file_create_node(destination, f_macro_file_type_get(source_stat.st_mode) | ((~f_file_type_mask) & mode.socket), source_stat.st_rdev); if (F_status_is_error(status)) { if (F_status_set_fine(status) != F_file_found || exclusive) { @@ -186,7 +186,7 @@ extern "C" { return F_none; } else if (f_macro_file_type_is_block(source_stat.st_mode) || f_macro_file_type_is_character(source_stat.st_mode)) { - status = private_f_file_create_node(destination, f_macro_file_type_get(source_stat.st_mode) | (~f_file_type_mask) & mode.block, source_stat.st_rdev); + status = private_f_file_create_node(destination, f_macro_file_type_get(source_stat.st_mode) | ((~f_file_type_mask) & mode.block), source_stat.st_rdev); if (F_status_is_error(status)) { if (F_status_set_fine(status) != F_file_found || exclusive) { diff --git a/level_0/f_file/c/private-file.h b/level_0/f_file/c/private-file.h index 7b8980c..0b6bd8b 100644 --- a/level_0/f_file/c/private-file.h +++ b/level_0/f_file/c/private-file.h @@ -42,7 +42,7 @@ extern "C" { * @see f_file_stream_close() */ #if !defined(_di_f_file_close_) || !defined(_di_f_file_copy_) || !defined(_di_f_file_stream_close_) - extern f_status_t private_f_file_close(const bool flush, int *id) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_close(const bool flush, int *id) f_attribute_visibility_internal; #endif // !defined(_di_f_file_close_) || !defined(_di_f_file_copy_) || !defined(_di_f_file_stream_close_) /** @@ -90,7 +90,7 @@ extern "C" { * @see f_file_clone() */ #if !defined(_di_f_file_copy_) || !defined(_di_f_file_clone_) - extern f_status_t private_f_file_copy_content(const f_string_t source, const f_string_t destination, const f_number_unsigned_t size_block) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_copy_content(const f_string_t source, const f_string_t destination, const f_number_unsigned_t size_block) f_attribute_visibility_internal; #endif // !defined(_di_f_file_copy_) || !defined(_di_f_file_clone_) /** @@ -133,7 +133,7 @@ extern "C" { * @see f_file_create() */ #if !defined(_di_f_file_create_) || !defined(_di_f_file_copy_) - extern f_status_t private_f_file_create(const f_string_t path, const mode_t mode, const bool exclusive) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_create(const f_string_t path, const mode_t mode, const bool exclusive) f_attribute_visibility_internal; #endif // !defined(_di_f_file_create_) || !defined(_di_f_file_copy_) /** @@ -177,7 +177,7 @@ extern "C" { * @see f_file_create_at() */ #if !defined(_di_f_file_create_at_) - extern f_status_t private_f_file_create_at(const int at_id, const f_string_t path, const mode_t mode, const bool exclusive) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_create_at(const int at_id, const f_string_t path, const mode_t mode, const bool exclusive) f_attribute_visibility_internal; #endif // !defined(_di_f_file_create_at_) /** @@ -211,7 +211,7 @@ extern "C" { * @see f_file_copy() */ #if !defined(_di_f_file_copy_) - extern f_status_t private_f_file_create_directory(const f_string_t path, const mode_t mode) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_create_directory(const f_string_t path, const mode_t mode) f_attribute_visibility_internal; #endif // !defined(_di_f_file_copy_) /** @@ -248,7 +248,7 @@ extern "C" { * @see f_file_copy_at() */ #if !defined(_di_f_file_copy_at_) - extern f_status_t private_f_file_create_directory_at(const int at_id, const f_string_t path, const mode_t mode) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_create_directory_at(const int at_id, const f_string_t path, const mode_t mode) f_attribute_visibility_internal; #endif // !defined(_di_f_file_copy_at_) /** @@ -280,7 +280,7 @@ extern "C" { * @see f_file_copy() */ #if !defined(_di_f_file_create_fifo_) || !defined(_di_f_file_copy_) - extern f_status_t private_f_file_create_fifo(const f_string_t path, const mode_t mode) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_create_fifo(const f_string_t path, const mode_t mode) f_attribute_visibility_internal; #endif // !defined(_di_f_file_create_fifo_) || !defined(_di_f_file_copy_) /** @@ -315,7 +315,7 @@ extern "C" { * @see f_file_copy_at() */ #if !defined(_di_f_file_create_fifo_at_) || !defined(_di_f_file_copy_at_) - extern f_status_t private_f_file_create_fifo_at(const int at_id, const f_string_t path, const mode_t mode) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_create_fifo_at(const int at_id, const f_string_t path, const mode_t mode) f_attribute_visibility_internal; #endif // !defined(_di_f_file_create_fifo_at_) || !defined(_di_f_file_copy_at_) /** @@ -354,7 +354,7 @@ extern "C" { * @see f_file_create_node() */ #if !defined(_di_f_file_create_device_) || !defined(_di_f_file_create_node_) || !defined(_di_f_file_copy_) - extern f_status_t private_f_file_create_node(const f_string_t path, const mode_t mode, const dev_t device) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_create_node(const f_string_t path, const mode_t mode, const dev_t device) f_attribute_visibility_internal; #endif // !defined(_di_f_file_create_device_) || !defined(_di_f_file_create_node_) || !defined(_di_f_file_copy_) /** @@ -396,7 +396,7 @@ extern "C" { * @see f_file_create_node_at() */ #if !defined(_di_f_file_create_device_at_) || !defined(_di_f_file_create_node_at_) || !defined(_di_f_file_copy_at_) - extern f_status_t private_f_file_create_node_at(const int at_id, const f_string_t path, const mode_t mode, const dev_t device) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_create_node_at(const int at_id, const f_string_t path, const mode_t mode, const dev_t device) f_attribute_visibility_internal; #endif // !defined(_di_f_file_create_device_at_) || !defined(_di_f_file_create_node_at_) || !defined(_di_f_file_copy_at_) /** @@ -422,7 +422,7 @@ extern "C" { * @see f_file_flush() */ #if !defined(_di_f_file_flush_) || !defined(_di_f_file_close_) || !defined(_di_f_file_copy_) - extern f_status_t private_f_file_flush(const int id) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_flush(const int id) f_attribute_visibility_internal; #endif // !defined(_di_f_file_flush_) || !defined(_di_f_file_close_) || !defined(_di_f_file_copy_) /** @@ -458,7 +458,7 @@ extern "C" { * @see f_file_link() */ #if !defined(_di_f_file_link_) || !defined(_di_f_file_copy_) - extern f_status_t private_f_file_link(const f_string_t target, const f_string_t point) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_link(const f_string_t target, const f_string_t point) f_attribute_visibility_internal; #endif // !defined(_di_f_file_link_) || !defined(_di_f_file_copy_) /** @@ -496,7 +496,7 @@ extern "C" { * @see f_file_link_at() */ #if !defined(_di_f_file_link_at_) - extern f_status_t private_f_file_link_at(const int at_id, const f_string_t target, const f_string_t point) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_link_at(const int at_id, const f_string_t target, const f_string_t point) f_attribute_visibility_internal; #endif // !defined(_di_f_file_link_at_) /** @@ -530,7 +530,7 @@ extern "C" { * @see f_file_link_read() */ #if !defined(_di_f_file_link_read_) || !defined(_di_f_file_copy_) - extern f_status_t private_f_file_link_read(const f_string_t path, const struct stat link_stat, f_string_dynamic_t *target) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_link_read(const f_string_t path, const struct stat link_stat, f_string_dynamic_t *target) f_attribute_visibility_internal; #endif // !defined(_di_f_file_link_read_) || !defined(_di_f_file_copy_) /** @@ -567,7 +567,7 @@ extern "C" { * @see f_file_link_read_at() */ #if !defined(_di_f_file_link_read_at_) || !defined(_di_f_file_copy_at_) - extern f_status_t private_f_file_link_read_at(const int at_id, const f_string_t path, const struct stat link_stat, f_string_dynamic_t *target) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_link_read_at(const int at_id, const f_string_t path, const struct stat link_stat, f_string_dynamic_t *target) f_attribute_visibility_internal; #endif // !defined(_di_f_file_link_read_at_) || !defined(_di_f_file_copy_at_) /** @@ -598,7 +598,7 @@ extern "C" { * @see f_file_mode_set() */ #if !defined(_di_f_file_mode_set_) || !defined(_di_f_file_copy_) - extern f_status_t private_f_file_mode_set(const f_string_t path, const mode_t mode) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_mode_set(const f_string_t path, const mode_t mode) f_attribute_visibility_internal; #endif // !defined(_di_f_file_mode_set_) || !defined(_di_f_file_copy_) /** @@ -630,7 +630,7 @@ extern "C" { * @see f_file_mode_set_at() */ #if !defined(_di_f_file_mode_set_at_) - extern f_status_t private_f_file_mode_set_at(const int at_id, const f_string_t path, const mode_t mode) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_mode_set_at(const int at_id, const f_string_t path, const mode_t mode) f_attribute_visibility_internal; #endif // !defined(_di_f_file_mode_set_at_) /** @@ -658,7 +658,7 @@ extern "C" { * @see f_file_open() */ #if !defined(_di_f_file_open_) || !defined(_di_f_file_copy_) - extern f_status_t private_f_file_open(const f_string_t path, const mode_t mode, f_file_t *file) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_open(const f_string_t path, const mode_t mode, f_file_t *file) f_attribute_visibility_internal; #endif // !defined(_di_f_file_open_) || !defined(_di_f_file_copy_) /** @@ -687,7 +687,7 @@ extern "C" { * @see f_file_open_at() */ #if !defined(_di_f_file_open_at_) - extern f_status_t private_f_file_open_at(const int at_id, const f_string_t path, const mode_t mode, f_file_t *file) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_open_at(const int at_id, const f_string_t path, const mode_t mode, f_file_t *file) f_attribute_visibility_internal; #endif // !defined(_di_f_file_open_at_) /** @@ -725,7 +725,7 @@ extern "C" { * @see f_file_role_change() */ #if !defined(_di_f_file_role_change_) || !defined(_di_f_file_copy_) - extern f_status_t private_f_file_role_change(const f_string_t path, const uid_t uid, const gid_t gid, const bool dereference) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_role_change(const f_string_t path, const uid_t uid, const gid_t gid, const bool dereference) f_attribute_visibility_internal; #endif // !defined(_di_f_file_role_change_) || !defined(_di_f_file_copy_) /** @@ -764,7 +764,7 @@ extern "C" { * @see f_file_role_change_at() */ #if !defined(_di_f_file_role_change_at_) - extern f_status_t private_f_file_role_change_at(const int at_id, const f_string_t path, const uid_t uid, const gid_t gid, const int flag) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_role_change_at(const int at_id, const f_string_t path, const uid_t uid, const gid_t gid, const int flag) f_attribute_visibility_internal; #endif // !defined(_di_f_file_role_change_at_) /** @@ -798,7 +798,7 @@ extern "C" { * @see f_file_touch() */ #if !defined(_di_f_file_stat_) || !defined(_di_f_file_copy_) || !defined(_di_f_file_exists_) || !defined(_di_f_file_is_) || !defined(_di_f_file_touch_) - extern f_status_t private_f_file_stat(const f_string_t file_name, const bool dereference, struct stat *file_stat) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_stat(const f_string_t file_name, const bool dereference, struct stat *file_stat) f_attribute_visibility_internal; #endif // !defined(_di_f_file_stat_) || !defined(_di_f_file_copy_) || !defined(_di_f_file_exists_) || !defined(_di_f_file_is_) || !defined(_di_f_file_touch_) /** @@ -831,7 +831,7 @@ extern "C" { * @see f_file_touch_at() */ #if !defined(_di_f_file_stat_at_) || !defined(_di_f_file_exists_at_) || !defined(_di_f_file_touch_at_) - extern f_status_t private_f_file_stat_at(const int at_id, const f_string_t file_name, const int flag, struct stat *file_stat) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_stat_at(const int at_id, const f_string_t file_name, const int flag, struct stat *file_stat) f_attribute_visibility_internal; #endif // !defined(_di_f_file_stat_at_) || !defined(_di_f_file_exists_at_) || !defined(_di_f_file_touch_at_) /** @@ -859,7 +859,7 @@ extern "C" { * @see f_file_stat_by_id() */ #if !defined(_di_f_file_stat_by_id_) || !defined(_di_f_file_size_by_id_) - extern f_status_t private_f_file_stat_by_id(const int id, struct stat *file_stat) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_stat_by_id(const int id, struct stat *file_stat) f_attribute_visibility_internal; #endif // !defined(_di_f_file_stat_by_id_) || !defined(_di_f_file_size_by_id_) /** @@ -878,7 +878,7 @@ extern "C" { * @see f_file_stream_reopen() */ #if !defined(_di_f_file_stream_descriptor_) || !defined(_di_f_file_stream_open_) || !defined(_di_f_file_stream_reopen_) - extern const char *private_f_file_stream_open_mode_determine(const int flag) f_gcc_attribute_visibility_internal; + extern const char *private_f_file_stream_open_mode_determine(const int flag) f_attribute_visibility_internal; #endif // !defined(_di_f_file_stream_descriptor_) || !defined(_di_f_file_stream_open_) || !defined(_di_f_file_stream_reopen_) /** @@ -918,7 +918,7 @@ extern "C" { * @see f_file_stream_write_until() */ #if !defined(f_file_stream_write) || !defined(_di_f_file_stream_write_block_) || !defined(f_file_stream_write_until) || !defined(f_file_stream_write_range) - extern f_status_t private_f_file_stream_write_until(const f_file_t file, const f_string_t string, const f_array_length_t amount, const f_array_length_t total, f_array_length_t *written) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_stream_write_until(const f_file_t file, const f_string_t string, const f_array_length_t amount, const f_array_length_t total, f_array_length_t *written) f_attribute_visibility_internal; #endif // !defined(f_file_stream_write) || !defined(_di_f_file_stream_write_block_) || !defined(f_file_stream_write_until) || !defined(f_file_stream_write_range) /** @@ -955,7 +955,7 @@ extern "C" { * @see f_file_write_until() */ #if !defined(f_file_write) || !defined(_di_f_file_write_block_) || !defined(f_file_write_until) || !defined(f_file_write_range) - extern f_status_t private_f_file_write_until(const f_file_t file, const f_string_t string, const f_array_length_t total, f_array_length_t *written) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_file_write_until(const f_file_t file, const f_string_t string, const f_array_length_t total, f_array_length_t *written) f_attribute_visibility_internal; #endif // !defined(f_file_write) || !defined(_di_f_file_write_block_) || !defined(f_file_write_until) || !defined(f_file_write_range) #ifdef __cplusplus diff --git a/level_0/f_file/data/build/settings b/level_0/f_file/data/build/settings index f45950d..0ad7fa2 100644 --- a/level_0/f_file/data/build/settings +++ b/level_0/f_file/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_fss/c/private-fss.h b/level_0/f_fss/c/private-fss.h index f7212b1..0205478 100644 --- a/level_0/f_fss/c/private-fss.h +++ b/level_0/f_fss/c/private-fss.h @@ -38,7 +38,7 @@ extern "C" { * @see f_memory_adjust() */ #if !defined(_di_f_fss_items_adjust_) || !defined(_di_f_fss_items_decimate_by_) - extern f_status_t private_f_fss_items_adjust(const f_array_length_t length, f_fss_items_t *items) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_items_adjust(const f_array_length_t length, f_fss_items_t *items) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_items_adjust_) || !defined(_di_f_fss_items_decimate_by_) /** @@ -66,7 +66,7 @@ extern "C" { * @see f_memory_resize() */ #if !defined(_di_f_fss_items_decrease_by_) || !defined(_di_f_fss_items_increase_) || !defined(_di_f_fss_items_increase_by_) || !defined(_di_f_fss_items_resize_) - extern f_status_t private_f_fss_items_resize(const f_array_length_t length, f_fss_items_t *items) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_items_resize(const f_array_length_t length, f_fss_items_t *items) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_items_decrease_by_) || !defined(_di_f_fss_items_increase_) || !defined(_di_f_fss_items_increase_by_) || !defined(_di_f_fss_items_resize_) /** @@ -94,7 +94,7 @@ extern "C" { * @see f_fss_nameds_decimate_by() */ #if !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_) - extern f_status_t private_f_fss_named_adjust(const f_array_length_t length, f_fss_named_t *named) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_named_adjust(const f_array_length_t length, f_fss_named_t *named) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_) /** @@ -124,7 +124,7 @@ extern "C" { * @see f_fss_nameds_resize() */ #if !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_nameds_increase_) || !defined(_di_f_fss_nameds_increase_by_) || !defined(_di_f_fss_nameds_resize_) - extern f_status_t private_f_fss_named_resize(const f_array_length_t length, f_fss_named_t *named) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_named_resize(const f_array_length_t length, f_fss_named_t *named) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_nameds_increase_) || !defined(_di_f_fss_nameds_increase_by_) || !defined(_di_f_fss_nameds_resize_) /** @@ -150,7 +150,7 @@ extern "C" { * @see f_memory_adjust() */ #if !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_) - extern f_status_t private_f_fss_nameds_adjust(const f_array_length_t length, f_fss_nameds_t *nameds) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_nameds_adjust(const f_array_length_t length, f_fss_nameds_t *nameds) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_) /** @@ -178,7 +178,7 @@ extern "C" { * @see f_memory_resize() */ #if !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_nameds_increase_) || !defined(_di_f_fss_nameds_increase_by_) || !defined(_di_f_fss_nameds_resize_) - extern f_status_t private_f_fss_nameds_resize(const f_array_length_t length, f_fss_nameds_t *nameds) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_nameds_resize(const f_array_length_t length, f_fss_nameds_t *nameds) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_nameds_increase_) || !defined(_di_f_fss_nameds_increase_by_) || !defined(_di_f_fss_nameds_resize_) /** @@ -204,7 +204,7 @@ extern "C" { * @see f_memory_adjust() */ #if !defined(_di_f_fss_nest_adjust_) || !defined(_di_f_fss_nest_decimate_by_) - extern f_status_t private_f_fss_nest_adjust(const f_array_length_t length, f_fss_nest_t *nest) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_nest_adjust(const f_array_length_t length, f_fss_nest_t *nest) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_nest_adjust_) || !defined(_di_f_fss_nest_decimate_by_) /** @@ -232,7 +232,7 @@ extern "C" { * @see f_memory_resize() */ #if !defined(_di_f_fss_nest_decrease_by_) || !defined(_di_f_fss_nest_increase_) || !defined(_di_f_fss_nest_increase_by_) || !defined(_di_f_fss_nest_resize_) - extern f_status_t private_f_fss_nest_resize(const f_array_length_t length, f_fss_nest_t *nest) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_nest_resize(const f_array_length_t length, f_fss_nest_t *nest) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_nest_decrease_by_) || !defined(_di_f_fss_nest_increase_) || !defined(_di_f_fss_nest_increase_by_) || !defined(_di_f_fss_nest_resize_) /** @@ -258,7 +258,7 @@ extern "C" { * @see f_memory_adjust() */ #if !defined(_di_f_fss_nests_adjust_) || !defined(_di_f_fss_nests_decimate_by_) - extern f_status_t private_f_fss_nests_adjust(const f_array_length_t length, f_fss_nests_t *nests) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_nests_adjust(const f_array_length_t length, f_fss_nests_t *nests) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_nests_adjust_) || !defined(_di_f_fss_nests_decimate_by_) /** @@ -286,7 +286,7 @@ extern "C" { * @see f_memory_resize() */ #if !defined(_di_f_fss_nests_decrease_by_) || !defined(_di_f_fss_nests_increase_) || !defined(_di_f_fss_nests_increase_by_) || !defined(_di_f_fss_nests_resize_) - extern f_status_t private_f_fss_nests_resize(const f_array_length_t length, f_fss_nests_t *nests) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_nests_resize(const f_array_length_t length, f_fss_nests_t *nests) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_nests_decrease_by_) || !defined(_di_f_fss_nests_increase_) || !defined(_di_f_fss_nests_increase_by_) || !defined(_di_f_fss_nests_resize_) /** @@ -312,7 +312,7 @@ extern "C" { * @see f_fss_set_decimate_by() */ #if !defined(_di_f_fss_set_adjust_) || !defined(_di_f_fss_set_decimate_by_) - extern f_status_t private_f_fss_set_adjust(const f_array_length_t length, f_fss_set_t *set) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_set_adjust(const f_array_length_t length, f_fss_set_t *set) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_set_adjust_) || !defined(_di_f_fss_set_decimate_by_) /** @@ -340,7 +340,7 @@ extern "C" { * @see f_fss_set_resize() */ #if !defined(_di_f_fss_set_decrease_by_) || !defined(_di_f_fss_set_increase_) || !defined(_di_f_fss_set_increase_by_) || !defined(_di_f_fss_set_resize_) - extern f_status_t private_f_fss_set_resize(const f_array_length_t length, f_fss_set_t *set) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_set_resize(const f_array_length_t length, f_fss_set_t *set) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_set_decrease_by_) || !defined(_di_f_fss_set_increase_) || !defined(_di_f_fss_set_increase_by_) || !defined(_di_f_fss_set_resize_) /** @@ -370,7 +370,7 @@ extern "C" { * @see f_fss_set_quote_decimate_by() */ #if !defined(_di_f_fss_set_quote_adjust_) || !defined(_di_f_fss_set_quote_decimate_by_) - extern f_status_t private_f_fss_set_quote_adjust(const f_array_length_t length, f_fss_set_quote_t *set_quote) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_set_quote_adjust(const f_array_length_t length, f_fss_set_quote_t *set_quote) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_set_quote_adjust_) || !defined(_di_f_fss_set_quote_decimate_by_) /** @@ -402,7 +402,7 @@ extern "C" { * @see f_fss_set_quote_resize() */ #if !defined(_di_f_fss_set_quote_decrease_by_) || !defined(_di_f_fss_set_quote_increase_) || !defined(_di_f_fss_set_quote_increase_by_) || !defined(_di_f_fss_set_quote_resize_) - extern f_status_t private_f_fss_set_quote_resize(const f_array_length_t length, f_fss_set_quote_t *set_quote) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_set_quote_resize(const f_array_length_t length, f_fss_set_quote_t *set_quote) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_set_quote_decrease_by_) || !defined(_di_f_fss_set_quote_increase_) || !defined(_di_f_fss_set_quote_increase_by_) || !defined(_di_f_fss_set_quote_resize_) /** @@ -434,7 +434,7 @@ extern "C" { * @see f_memory_adjust() */ #if !defined(_di_f_fss_set_quotes_adjust_) || !defined(_di_f_fss_set_quotes_decimate_by_) - extern f_status_t private_f_fss_set_quotes_adjust(const f_array_length_t length, f_fss_set_quotes_t *set_quotes) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_set_quotes_adjust(const f_array_length_t length, f_fss_set_quotes_t *set_quotes) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_set_quotes_adjust_) || !defined(_di_f_fss_set_quotes_decimate_by_) /** @@ -468,7 +468,7 @@ extern "C" { * @see f_memory_resize() */ #if !defined(_di_f_fss_set_quotes_decrease_by_) || !defined(_di_f_fss_set_quotes_increase_) || !defined(_di_f_fss_set_quotes_increase_by_) || !defined(_di_f_fss_set_quotes_resize_) - extern f_status_t private_f_fss_set_quotes_resize(const f_array_length_t length, f_fss_set_quotes_t *set_quotes) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_set_quotes_resize(const f_array_length_t length, f_fss_set_quotes_t *set_quotes) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_set_quotes_decrease_by_) || !defined(_di_f_fss_set_quotes_increase_) || !defined(_di_f_fss_set_quotes_increase_by_) || !defined(_di_f_fss_set_quotes_resize_) /** @@ -496,7 +496,7 @@ extern "C" { * @see f_memory_adjust() */ #if !defined(_di_f_fss_sets_adjust_) || !defined(_di_f_fss_sets_decimate_by_) - extern f_status_t private_f_fss_sets_adjust(const f_array_length_t length, f_fss_sets_t *sets) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_sets_adjust(const f_array_length_t length, f_fss_sets_t *sets) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_sets_adjust_) || !defined(_di_f_fss_sets_decimate_by_) /** @@ -526,7 +526,7 @@ extern "C" { * @see f_memory_resize() */ #if !defined(_di_f_fss_sets_decrease_by_) || !defined(_di_f_fss_sets_increase_) || !defined(_di_f_fss_sets_increase_by_) || !defined(_di_f_fss_sets_resize_) - extern f_status_t private_f_fss_sets_resize(const f_array_length_t length, f_fss_sets_t *sets) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_fss_sets_resize(const f_array_length_t length, f_fss_sets_t *sets) f_attribute_visibility_internal; #endif // !defined(_di_f_fss_sets_decrease_by_) || !defined(_di_f_fss_sets_increase_) || !defined(_di_f_fss_sets_increase_by_) || !defined(_di_f_fss_sets_resize_) #ifdef __cplusplus diff --git a/level_0/f_fss/data/build/settings b/level_0/f_fss/data/build/settings index 7f0ac81..4ffc76b 100644 --- a/level_0/f_fss/data/build/settings +++ b/level_0/f_fss/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_iki/c/private-iki.h b/level_0/f_iki/c/private-iki.h index d283a84..d64edd2 100644 --- a/level_0/f_iki/c/private-iki.h +++ b/level_0/f_iki/c/private-iki.h @@ -37,7 +37,7 @@ extern "C" { * @see f_iki_content_partial_is() */ #if !defined(_di_f_iki_content_is_) || !defined(_di_f_iki_content_partial_is_) - extern f_status_t private_f_iki_content_partial_is(const f_string_static_t buffer, const f_string_range_t range, const uint8_t quote) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_iki_content_partial_is(const f_string_static_t buffer, const f_string_range_t range, const uint8_t quote) f_attribute_visibility_internal; #endif // !defined(_di_f_iki_content_is_) || !defined(_di_f_iki_content_partial_is_) /** @@ -59,7 +59,7 @@ extern "C" { * @see f_iki_object_partial_is() */ #if !defined(_di_f_iki_object_is_) || !defined(_di_f_iki_object_partial_is_) - extern f_status_t private_f_iki_object_partial_is(const f_string_static_t buffer, const f_string_range_t range) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_iki_object_partial_is(const f_string_static_t buffer, const f_string_range_t range) f_attribute_visibility_internal; #endif // !defined(_di_f_iki_object_is_) || !defined(_di_f_iki_object_partial_is_) #ifdef __cplusplus diff --git a/level_0/f_iki/data/build/settings b/level_0/f_iki/data/build/settings index 1c2b0df..c954ccc 100644 --- a/level_0/f_iki/data/build/settings +++ b/level_0/f_iki/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_limit/data/build/settings b/level_0/f_limit/data/build/settings index aa884d3..50bd222 100644 --- a/level_0/f_limit/data/build/settings +++ b/level_0/f_limit/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_memory/c/private-memory.h b/level_0/f_memory/c/private-memory.h index b721d3b..9108db8 100644 --- a/level_0/f_memory/c/private-memory.h +++ b/level_0/f_memory/c/private-memory.h @@ -45,7 +45,7 @@ extern "C" { * @see f_memory_structure_decimate_by() */ #if !defined(_di_f_memory_structure_adjust_) || !defined(_di_f_memory_structure_decimate_by_) - extern f_status_t private_f_memory_adjust(const size_t length_old, const size_t length_new, const size_t type_size, void **pointer) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_memory_adjust(const size_t length_old, const size_t length_new, const size_t type_size, void **pointer) f_attribute_visibility_internal; #endif // !defined(_di_f_memory_structure_adjust_) || !defined(_di_f_memory_structure_decimate_by_) /** @@ -82,7 +82,7 @@ extern "C" { * @see private_f_memory_structure_resize() */ #if !defined(_di_memory_structure_decrease_by_) || !defined(_di_memory_structure_increase_) || !defined(_di_memory_structure_increase_by_) || !defined(_di_f_memory_structure_resize_) - extern f_status_t private_f_memory_resize(const size_t length_old, const size_t length_new, const size_t type_size, void **pointer) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_memory_resize(const size_t length_old, const size_t length_new, const size_t type_size, void **pointer) f_attribute_visibility_internal; #endif // !defined(_di_memory_structure_decrease_by_) || !defined(_di_memory_structure_increase_) || !defined(_di_memory_structure_increase_by_) || !defined(_di_f_memory_structure_resize_) /** @@ -113,7 +113,7 @@ extern "C" { * @see private_f_memory_adjust() */ #if !defined(_di_f_memory_structure_adjust_) || !defined(_di_f_memory_structure_decimate_by_) - f_status_t private_f_memory_structure_adjust(const size_t length_new, const size_t type_size, void **structure, f_array_length_t *used, f_array_length_t *size) f_gcc_attribute_visibility_internal; + f_status_t private_f_memory_structure_adjust(const size_t length_new, const size_t type_size, void **structure, f_array_length_t *used, f_array_length_t *size) f_attribute_visibility_internal; #endif // !defined(_di_f_memory_structure_adjust_) || !defined(_di_f_memory_structure_decimate_by_) /** @@ -146,7 +146,7 @@ extern "C" { * @see private_f_memory_resize() */ #if !defined(_di_memory_structure_decrease_by_) || !defined(_di_memory_structure_increase_) || !defined(_di_memory_structure_increase_by_) || !defined(_di_f_memory_structure_resize_) - f_status_t private_f_memory_structure_resize(const size_t length_new, const size_t type_size, void **structure, f_array_length_t *used, f_array_length_t *size) f_gcc_attribute_visibility_internal; + f_status_t private_f_memory_structure_resize(const size_t length_new, const size_t type_size, void **structure, f_array_length_t *used, f_array_length_t *size) f_attribute_visibility_internal; #endif // !defined(_di_memory_structure_decrease_by_) || !defined(_di_memory_structure_increase_) || !defined(_di_memory_structure_increase_by_) || !defined(_di_f_memory_structure_resize_) #ifdef __cplusplus diff --git a/level_0/f_memory/data/build/settings b/level_0/f_memory/data/build/settings index 91a8506..59572c1 100644 --- a/level_0/f_memory/data/build/settings +++ b/level_0/f_memory/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_path/c/private-path.h b/level_0/f_path/c/private-path.h index 7194b97..0ce42b3 100644 --- a/level_0/f_path/c/private-path.h +++ b/level_0/f_path/c/private-path.h @@ -41,7 +41,7 @@ extern "C" { * @see f_path_real() */ #if !defined(_di_f_path_current_) || !defined(_di_f_path_real_) - extern f_status_t private_f_path_real(const f_string_t path, f_string_dynamic_t *real) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_path_real(const f_string_t path, f_string_dynamic_t *real) f_attribute_visibility_internal; #endif // !defined(_di_f_path_current_) || !defined(_di_f_path_real_) #ifdef __cplusplus diff --git a/level_0/f_path/data/build/settings b/level_0/f_path/data/build/settings index f26db2e..cd5c3b9 100644 --- a/level_0/f_path/data/build/settings +++ b/level_0/f_path/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_pipe/data/build/settings b/level_0/f_pipe/data/build/settings index 558cf72..0f7632e 100644 --- a/level_0/f_pipe/data/build/settings +++ b/level_0/f_pipe/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_print/c/private-print.h b/level_0/f_print/c/private-print.h index 36a8619..bb80832 100644 --- a/level_0/f_print/c/private-print.h +++ b/level_0/f_print/c/private-print.h @@ -38,7 +38,7 @@ extern "C" { * @see f_print_dynamic_partial() */ #if !defined(_di_f_print_) || !defined(_di_f_print_dynamic_) || !defined(_di_f_print_dynamic_partial_) - extern f_status_t private_f_print(FILE *output, const f_string_t string, const f_array_length_t length) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_print(FILE *output, const f_string_t string, const f_array_length_t length) f_attribute_visibility_internal; #endif // !defined(_di_f_print_) || !defined(_di_f_print_dynamic_) || !defined(_di_f_print_dynamic_partial_) /** @@ -69,7 +69,7 @@ extern "C" { * @see f_print_except_dynamic_partial() */ #if !defined(_di_f_print_except_) || !defined(_di_f_print_except_dynamic_) || !defined(_di_f_print_except_dynamic_partial_) - extern f_status_t private_f_print_except(FILE *output, const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_print_except(FILE *output, const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except) f_attribute_visibility_internal; #endif // !defined(_di_f_print_except_) || !defined(_di_f_print_except_dynamic_) || !defined(_di_f_print_except_dynamic_partial_) /** @@ -101,7 +101,7 @@ extern "C" { * @see f_print_to_dynamic_partial() */ #if !defined(_di_f_print_to_) || !defined(_di_f_print_to_dynamic_) || !defined(_di_f_print_to_dynamic_partial_) - extern f_status_t private_f_print_to(const int id, const f_string_t string, const f_array_length_t length) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_print_to(const int id, const f_string_t string, const f_array_length_t length) f_attribute_visibility_internal; #endif // !defined(_di_f_print_to_) || !defined(_di_f_print_to_dynamic_) || !defined(_di_f_print_to_dynamic_partial_) /** @@ -138,7 +138,7 @@ extern "C" { * @see f_print_to_except_dynamic_partial() */ #if !defined(_di_f_print_to_except_) || !defined(_di_f_print_to_except_dynamic_) || !defined(_di_f_print_to_except_dynamic_partial_) - extern f_status_t private_f_print_to_except(const int id, const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_print_to_except(const int id, const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except) f_attribute_visibility_internal; #endif // !defined(_di_f_print_to_except_) || !defined(_di_f_print_to_except_dynamic_) || !defined(_di_f_print_to_except_dynamic_partial_) #ifdef __cplusplus diff --git a/level_0/f_print/data/build/settings b/level_0/f_print/data/build/settings index ae4befc..03d59bb 100644 --- a/level_0/f_print/data/build/settings +++ b/level_0/f_print/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_serialize/c/private-serialize.h b/level_0/f_serialize/c/private-serialize.h index 88a5d15..5deccf9 100644 --- a/level_0/f_serialize/c/private-serialize.h +++ b/level_0/f_serialize/c/private-serialize.h @@ -35,7 +35,7 @@ extern "C" { * F_parameter (with error bit) if a parameter is invalid. */ #if !defined(_di_f_serialize_un_simple_find_) || !defined(_di_f_serialize_un_simple_get_) - extern f_status_t private_f_serialize_un_simple_find(const f_string_static_t serialize, const f_array_length_t index, f_string_range_t *location) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_serialize_un_simple_find(const f_string_static_t serialize, const f_array_length_t index, f_string_range_t *location) f_attribute_visibility_internal; #endif // !defined(_di_f_serialize_un_simple_find_) || !defined(_di_f_serialize_un_simple_get_) #ifdef __cplusplus diff --git a/level_0/f_serialize/data/build/settings b/level_0/f_serialize/data/build/settings index d7a38c9..c538d55 100644 --- a/level_0/f_serialize/data/build/settings +++ b/level_0/f_serialize/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_signal/data/build/settings b/level_0/f_signal/data/build/settings index 180ff10..be1e8cf 100644 --- a/level_0/f_signal/data/build/settings +++ b/level_0/f_signal/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_socket/data/build/settings b/level_0/f_socket/data/build/settings index ac39ad9..0f8904d 100644 --- a/level_0/f_socket/data/build/settings +++ b/level_0/f_socket/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_status/data/build/settings b/level_0/f_status/data/build/settings index 397019f..5d42f75 100644 --- a/level_0/f_status/data/build/settings +++ b/level_0/f_status/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_string/c/private-string.h b/level_0/f_string/c/private-string.h index f5249ba..b8b3d1e 100644 --- a/level_0/f_string/c/private-string.h +++ b/level_0/f_string/c/private-string.h @@ -51,7 +51,7 @@ extern "C" { * @see f_string_triples_append() */ #if !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_mash_) || !defined(f_string_dynamic_partial_append) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_triples_append_) - extern f_status_t private_f_string_append(const f_string_t source, const f_array_length_t length, f_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_append(const f_string_t source, const f_array_length_t length, f_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_mash_) || !defined(f_string_dynamic_partial_append) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_triples_append_) /** @@ -84,7 +84,7 @@ extern "C" { * @see f_string_mash_nulless() */ #if !defined(_di_f_string_append_assure_nulless_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_assure_nulless_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(_di_f_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_string_dynamic_partial_append_nulless_) || !defined(_di_f_string_dynamic_partial_mash_nulless_) || !defined(_di_f_string_mash_nulless_) - extern f_status_t private_f_string_append_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_append_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_string_append_assure_nulless_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_assure_nulless_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(_di_f_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_string_dynamic_partial_append_nulless_) || !defined(_di_f_string_dynamic_partial_mash_nulless_) || !defined(_di_f_string_mash_nulless_) /** @@ -114,7 +114,7 @@ extern "C" { * @see f_string_triples_decimate_by() */ #if !defined(_di_f_string_dynamic_adjust_) || !defined(_di_f_string_dynamic_decimate_by_) || !defined(_di_f_string_dynamics_adjust_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_dynamics_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_triples_adjust_) || !defined(_di_f_string_triples_decimate_by_) - extern f_status_t private_f_string_dynamic_adjust(const f_array_length_t length, f_string_dynamic_t *string) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_dynamic_adjust(const f_array_length_t length, f_string_dynamic_t *string) f_attribute_visibility_internal; #endif // !defined(_di_f_string_dynamic_adjust_) || !defined(_di_f_string_dynamic_decimate_by_) || !defined(_di_f_string_dynamics_adjust_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_dynamics_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_triples_adjust_) || !defined(_di_f_string_triples_decimate_by_) /** @@ -162,7 +162,7 @@ extern "C" { * @see f_string_triples_append() */ #if !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_append_mash_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_increase_by_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(_di_f_string_dynamic_partial_append_) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_mash_nulless_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_prepend_) || !defined(_di_f_string_prepend_nulless_) || !defined(_di_f_string_triples_append_) - extern f_status_t private_f_string_dynamic_increase_by(const f_array_length_t amount, f_string_dynamic_t *string) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_dynamic_increase_by(const f_array_length_t amount, f_string_dynamic_t *string) f_attribute_visibility_internal; #endif // !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_append_mash_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_increase_by_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(_di_f_string_dynamic_partial_append_) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_mash_nulless_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_prepend_) || !defined(_di_f_string_prepend_nulless_) || !defined(_di_f_string_triples_append_) /** @@ -210,7 +210,7 @@ extern "C" { * @see f_string_triples_append() */ #if !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_append_mash_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_decrease_by_) || !defined(_di_f_string_dynamic_increase_) || !defined(_di_f_string_dynamic_increase_by_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(f_string_dynamic_partial_append) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_dynamic_terminate_) || !defined(_di_f_string_dynamic_terminate_after_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_nulless_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_prepend_) || !defined(_di_f_string_prepend_nulless_) || !defined(_di_f_string_triples_append_) - extern f_status_t private_f_string_dynamic_resize(const f_array_length_t length, f_string_dynamic_t *string) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_dynamic_resize(const f_array_length_t length, f_string_dynamic_t *string) f_attribute_visibility_internal; #endif // !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_append_mash_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_decrease_by_) || !defined(_di_f_string_dynamic_increase_) || !defined(_di_f_string_dynamic_increase_by_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(f_string_dynamic_partial_append) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_dynamic_terminate_) || !defined(_di_f_string_dynamic_terminate_after_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_nulless_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_prepend_) || !defined(_di_f_string_prepend_nulless_) || !defined(_di_f_string_triples_append_) /** @@ -238,7 +238,7 @@ extern "C" { * @see f_string_map_multis_append() */ #if !defined(_di_f_string_dynamics_adjust_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_dynamics_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_) - extern f_status_t private_f_string_dynamics_adjust(const f_array_length_t length, f_string_dynamics_t *strings) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_dynamics_adjust(const f_array_length_t length, f_string_dynamics_t *strings) f_attribute_visibility_internal; #endif // !defined(_di_f_string_dynamics_adjust_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_dynamics_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_) /** @@ -262,7 +262,7 @@ extern "C" { * @see f_string_map_multis_append() */ #if !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) - extern f_status_t private_f_string_dynamics_append(const f_string_dynamics_t source, f_string_dynamics_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_dynamics_append(const f_string_dynamics_t source, f_string_dynamics_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) /** @@ -288,7 +288,7 @@ extern "C" { * @see f_string_dynamics_increase_by() */ #if !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) - extern f_status_t private_f_string_dynamics_resize(const f_array_length_t length, f_string_dynamics_t *strings) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_dynamics_resize(const f_array_length_t length, f_string_dynamics_t *strings) f_attribute_visibility_internal; #endif // !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) /** @@ -312,7 +312,7 @@ extern "C" { * @see f_string_map_multis_adjust() */ #if !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_decimate_by_) - extern f_status_t private_f_string_map_multis_adjust(const f_array_length_t length, f_string_map_multis_t *map_multis) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_map_multis_adjust(const f_array_length_t length, f_string_map_multis_t *map_multis) f_attribute_visibility_internal; #endif // !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_decimate_by_) /** @@ -340,7 +340,7 @@ extern "C" { * @see f_string_map_multis_terminate_after() */ #if !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_terminate_) || !defined(_di_f_string_map_multis_terminate_after_) - extern f_status_t private_f_string_map_multis_resize(const f_array_length_t length, f_string_map_multis_t *map_multis) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_map_multis_resize(const f_array_length_t length, f_string_map_multis_t *map_multis) f_attribute_visibility_internal; #endif // !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_terminate_) || !defined(_di_f_string_map_multis_terminate_after_) /** @@ -364,7 +364,7 @@ extern "C" { * @see f_string_maps_adjust() */ #if !defined(_di_f_string_maps_adjust_) || !defined(_di_f_string_maps_decimate_by_) - extern f_status_t private_f_string_maps_adjust(const f_array_length_t length, f_string_maps_t *maps) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_maps_adjust(const f_array_length_t length, f_string_maps_t *maps) f_attribute_visibility_internal; #endif // !defined(_di_f_string_maps_adjust_) || !defined(_di_f_string_maps_decimate_by_) /** @@ -392,7 +392,7 @@ extern "C" { * @see f_string_maps_terminate_after() */ #if !defined(_di_f_string_maps_decrease_by_) || !defined(_di_f_string_maps_increase_) || !defined(_di_f_string_maps_increase_by_) || !defined(_di_f_string_maps_terminate_) || !defined(_di_f_string_maps_terminate_after_) - extern f_status_t private_f_string_maps_resize(const f_array_length_t length, f_string_maps_t *maps) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_maps_resize(const f_array_length_t length, f_string_maps_t *maps) f_attribute_visibility_internal; #endif // !defined(_di_f_string_maps_decrease_by_) || !defined(_di_f_string_maps_increase_) || !defined(_di_f_string_maps_increase_by_) || !defined(_di_f_string_maps_terminate_) || !defined(_di_f_string_maps_terminate_after_) /** @@ -428,7 +428,7 @@ extern "C" { * @see f_string_prepend() */ #if !defined(_di_f_string_dynamic_mish_) || !defined(_di_f_string_dynamic_partial_mish_) || !defined(_di_f_string_dynamic_partial_prepend_assure_) || !defined(_di_f_string_dynamic_partial_prepend_) || !defined(_di_f_string_dynamic_prepend_assure_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_mish_) || !defined(_di_f_string_prepend_assure_) || !defined(_di_f_string_prepend_) - extern f_status_t private_f_string_prepend(const f_string_t source, const f_array_length_t length, f_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_prepend(const f_string_t source, const f_array_length_t length, f_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_string_dynamic_mish_) || !defined(_di_f_string_dynamic_partial_mish_) || !defined(_di_f_string_dynamic_partial_prepend_assure_) || !defined(_di_f_string_dynamic_partial_prepend_) || !defined(_di_f_string_dynamic_prepend_assure_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_mish_) || !defined(_di_f_string_prepend_assure_) || !defined(_di_f_string_prepend_) /** @@ -464,7 +464,7 @@ extern "C" { * @see f_string_prepend_nulless() */ #if !defined(_di_f_string_dynamic_mish_nulless_) || !defined(_di_f_string_dynamic_partial_mish_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_mish_nulless_) || !defined(_di_f_string_prepend_assure_nulless_) || !defined(_di_f_string_prepend_nulless_) - extern f_status_t private_f_string_prepend_nulless(const f_string_t source, f_array_length_t length, f_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_prepend_nulless(const f_string_t source, f_array_length_t length, f_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_string_dynamic_mish_nulless_) || !defined(_di_f_string_dynamic_partial_mish_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_mish_nulless_) || !defined(_di_f_string_prepend_assure_nulless_) || !defined(_di_f_string_prepend_nulless_) /** @@ -489,7 +489,7 @@ extern "C" { * @see f_string_quantitys_decimate_by() */ #if !defined(_di_f_string_quantitys_adjust_) || !defined(_di_f_string_quantitys_decimate_by_) - extern f_status_t private_f_string_quantitys_adjust(const f_array_length_t length, f_string_quantitys_t *quantitys) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_quantitys_adjust(const f_array_length_t length, f_string_quantitys_t *quantitys) f_attribute_visibility_internal; #endif // !defined(_di_f_string_quantitys_adjust_) || !defined(_di_f_string_quantitys_decimate_by_) /** @@ -517,7 +517,7 @@ extern "C" { * @see f_string_quantitys_terminate_after() */ #if !defined(_di_f_string_quantitys_decrease_by_) || !defined(_di_f_string_quantitys_increase_) || !defined(_di_f_string_quantitys_increase_by_) || !defined(_di_f_string_quantitys_terminate_) || !defined(_di_f_string_quantitys_terminate_after_) - extern f_status_t private_f_string_quantitys_resize(const f_array_length_t length, f_string_quantitys_t *quantitys) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_quantitys_resize(const f_array_length_t length, f_string_quantitys_t *quantitys) f_attribute_visibility_internal; #endif // !defined(_di_f_string_quantitys_decrease_by_) || !defined(_di_f_string_quantitys_increase_) || !defined(_di_f_string_quantitys_increase_by_) || !defined(_di_f_string_quantitys_terminate_) || !defined(_di_f_string_quantitys_terminate_after_) /** @@ -542,7 +542,7 @@ extern "C" { * @see f_string_quantityss_decimate_by() */ #if !defined(_di_f_string_quantityss_adjust_) || !defined(_di_f_string_quantityss_decimate_by_) - extern f_status_t private_f_string_quantityss_adjust(const f_array_length_t length, f_string_quantityss_t *quantityss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_quantityss_adjust(const f_array_length_t length, f_string_quantityss_t *quantityss) f_attribute_visibility_internal; #endif // !defined(_di_f_string_quantityss_adjust_) || !defined(_di_f_string_quantityss_decimate_by_) /** @@ -570,7 +570,7 @@ extern "C" { * @see f_string_quantityss_terminate_after() */ #if !defined(_di_f_string_quantityss_decrease_by_) || !defined(_di_f_string_quantityss_increase_) || !defined(_di_f_string_quantityss_increase_by_) || !defined(_di_f_string_quantityss_terminate_) || !defined(_di_f_string_quantityss_terminate_after_) - extern f_status_t private_f_string_quantityss_resize(const f_array_length_t length, f_string_quantityss_t *quantityss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_quantityss_resize(const f_array_length_t length, f_string_quantityss_t *quantityss) f_attribute_visibility_internal; #endif // !defined(_di_f_string_quantityss_decrease_by_) || !defined(_di_f_string_quantityss_increase_) || !defined(_di_f_string_quantityss_increase_by_) || !defined(_di_f_string_quantityss_terminate_) || !defined(_di_f_string_quantityss_terminate_after_) /** @@ -595,7 +595,7 @@ extern "C" { * @see f_string_ranges_decimate_by() */ #if !defined(_di_f_string_ranges_adjust_) || !defined(_di_f_string_ranges_decimate_by_) - extern f_status_t private_f_string_ranges_adjust(const f_array_length_t length, f_string_ranges_t *ranges) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_ranges_adjust(const f_array_length_t length, f_string_ranges_t *ranges) f_attribute_visibility_internal; #endif // !defined(_di_f_string_ranges_adjust_) || !defined(_di_f_string_ranges_decimate_by_) /** @@ -623,7 +623,7 @@ extern "C" { * @see f_string_ranges_terminate_after() */ #if !defined(_di_f_string_ranges_decrease_by_) || !defined(_di_f_string_ranges_increase_) || !defined(_di_f_string_ranges_increase_by_) || !defined(_di_f_string_ranges_terminate_) || !defined(_di_f_string_ranges_terminate_after_) - extern f_status_t private_f_string_ranges_resize(const f_array_length_t length, f_string_ranges_t *ranges) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_ranges_resize(const f_array_length_t length, f_string_ranges_t *ranges) f_attribute_visibility_internal; #endif // !defined(_di_f_string_ranges_decrease_by_) || !defined(_di_f_string_ranges_increase_) || !defined(_di_f_string_ranges_increase_by_) || !defined(_di_f_string_ranges_terminate_) || !defined(_di_f_string_ranges_terminate_after_) /** @@ -648,7 +648,7 @@ extern "C" { * @see f_string_rangess_decimate_by() */ #if !defined(_di_f_string_rangess_adjust_) || !defined(_di_f_string_rangess_decimate_by_) - extern f_status_t private_f_string_rangess_adjust(const f_array_length_t length, f_string_rangess_t *rangess) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_rangess_adjust(const f_array_length_t length, f_string_rangess_t *rangess) f_attribute_visibility_internal; #endif // !defined(_di_f_string_rangess_adjust_) || !defined(_di_f_string_rangess_decimate_by_) /** @@ -676,7 +676,7 @@ extern "C" { * @see f_string_rangess_terminate_after() */ #if !defined(_di_f_string_rangess_decrease_by_) || !defined(_di_f_string_rangess_increase_) || !defined(_di_f_string_rangess_increase_by_) || !defined(_di_f_string_rangess_terminate_) || !defined(_di_f_string_rangess_terminate_after_) - extern f_status_t private_f_string_rangess_resize(const f_array_length_t length, f_string_rangess_t *rangess) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_rangess_resize(const f_array_length_t length, f_string_rangess_t *rangess) f_attribute_visibility_internal; #endif // !defined(_di_f_string_rangess_decrease_by_) || !defined(_di_f_string_rangess_increase_) || !defined(_di_f_string_rangess_increase_by_) || !defined(_di_f_string_rangess_terminate_) || !defined(_di_f_string_rangess_terminate_after_) /** @@ -701,7 +701,7 @@ extern "C" { * @see f_string_triples_decimate_by() */ #if !defined(_di_f_string_triples_adjust_) || !defined(_di_f_string_triples_decimate_by_) - extern f_status_t private_f_string_triples_adjust(const f_array_length_t length, f_string_triples_t *triples) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_triples_adjust(const f_array_length_t length, f_string_triples_t *triples) f_attribute_visibility_internal; #endif // !defined(_di_f_string_triples_adjust_) || !defined(_di_f_string_triples_decimate_by_) /** @@ -729,7 +729,7 @@ extern "C" { * @see f_string_triples_terminate_after() */ #if !defined(_di_f_string_triples_decrease_by_) || !defined(_di_f_string_triples_increase_) || !defined(_di_f_string_triples_increase_by_) || !defined(_di_f_string_triples_terminate_) || !defined(_di_f_string_triples_terminate_after_) - extern f_status_t private_f_string_triples_resize(const f_array_length_t length, f_string_triples_t *triples) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_string_triples_resize(const f_array_length_t length, f_string_triples_t *triples) f_attribute_visibility_internal; #endif // !defined(_di_f_string_triples_decrease_by_) || !defined(_di_f_string_triples_increase_) || !defined(_di_f_string_triples_increase_by_) || !defined(_di_f_string_triples_terminate_) || !defined(_di_f_string_triples_terminate_after_) #ifdef __cplusplus diff --git a/level_0/f_string/c/string.c b/level_0/f_string/c/string.c index a026e54..70f2625 100644 --- a/level_0/f_string/c/string.c +++ b/level_0/f_string/c/string.c @@ -291,7 +291,7 @@ extern "C" { #endif // _di_f_string_seek_line_ #ifndef _di_f_string_seek_line_to_ - f_status_t f_string_seek_line_to(const f_string_t string, const int8_t seek_to, f_string_range_t *range) { + f_status_t f_string_seek_line_to(const f_string_t string, const uint8_t seek_to, f_string_range_t *range) { #ifndef _di_level_0_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ @@ -311,7 +311,7 @@ extern "C" { #endif // _di_f_string_seek_line_to_ #ifndef _di_f_string_seek_to_ - f_status_t f_string_seek_to(const f_string_t string, const int8_t seek_to, f_string_range_t *range) { + f_status_t f_string_seek_to(const f_string_t string, const uint8_t seek_to, f_string_range_t *range) { #ifndef _di_level_0_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ diff --git a/level_0/f_string/c/string.h b/level_0/f_string/c/string.h index 3c8e616..8b759a2 100644 --- a/level_0/f_string/c/string.h +++ b/level_0/f_string/c/string.h @@ -402,7 +402,7 @@ extern "C" { * F_parameter (with error bit) if a parameter is invalid. */ #ifndef _di_f_string_seek_line_to_ - extern f_status_t f_string_seek_line_to(const f_string_t string, const int8_t seek_to, f_string_range_t *range); + extern f_status_t f_string_seek_line_to(const f_string_t string, const uint8_t seek_to, f_string_range_t *range); #endif // _di_f_string_seek_line_to_ /** @@ -426,7 +426,7 @@ extern "C" { * F_parameter (with error bit) if a parameter is invalid. */ #ifndef _di_f_string_seek_to_ - extern f_status_t f_string_seek_to(const f_string_t string, const int8_t seek_to, f_string_range_t *range); + extern f_status_t f_string_seek_to(const f_string_t string, const uint8_t seek_to, f_string_range_t *range); #endif // _di_f_string_seek_to_ #ifdef __cplusplus diff --git a/level_0/f_string/c/string_dynamic.c b/level_0/f_string/c/string_dynamic.c index ec44020..d1f5b00 100644 --- a/level_0/f_string/c/string_dynamic.c +++ b/level_0/f_string/c/string_dynamic.c @@ -302,6 +302,8 @@ extern "C" { i++; j++; } // while + + return F_none; } #endif // _di_f_string_dynamic_partial_append_assure_ @@ -342,6 +344,8 @@ extern "C" { i++; j++; } // while + + return F_none; } #endif // _di_f_string_dynamic_append_assure_nulless_ @@ -678,7 +682,7 @@ extern "C" { #endif // _di_f_string_dynamic_seek_line_ #ifndef _di_f_string_dynamic_seek_line_to_ - f_status_t f_string_dynamic_seek_line_to(const f_string_static_t buffer, const int8_t seek_to_this, f_string_range_t *range) { + f_status_t f_string_dynamic_seek_line_to(const f_string_static_t buffer, const char seek_to_this, f_string_range_t *range) { #ifndef _di_level_0_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ @@ -701,7 +705,7 @@ extern "C" { #endif // _di_f_string_dynamic_seek_line_to_ #ifndef _di_f_string_dynamic_seek_to_ - f_status_t f_string_dynamic_seek_to(const f_string_static_t buffer, const int8_t seek_to_this, f_string_range_t *range) { + f_status_t f_string_dynamic_seek_to(const f_string_static_t buffer, const char seek_to_this, f_string_range_t *range) { #ifndef _di_level_0_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ diff --git a/level_0/f_string/c/string_dynamic.h b/level_0/f_string/c/string_dynamic.h index fd6f42c..cc640f5 100644 --- a/level_0/f_string/c/string_dynamic.h +++ b/level_0/f_string/c/string_dynamic.h @@ -926,7 +926,7 @@ extern "C" { * Errors (with error bit) from: f_memory_resize(). */ #ifndef _di_f_string_dynamic_seek_line_to_ - extern f_status_t f_string_dynamic_seek_line_to(const f_string_static_t buffer, const int8_t seek_to_this, f_string_range_t *range); + extern f_status_t f_string_dynamic_seek_line_to(const f_string_static_t buffer, const char seek_to_this, f_string_range_t *range); #endif // _di_f_string_dynamic_seek_line_to_ /** @@ -952,7 +952,7 @@ extern "C" { * Errors (with error bit) from: f_memory_resize(). */ #ifndef _di_f_string_dynamic_seek_to_ - extern f_status_t f_string_dynamic_seek_to(const f_string_static_t buffer, const int8_t seek_to_this, f_string_range_t *range); + extern f_status_t f_string_dynamic_seek_to(const f_string_static_t buffer, const char seek_to_this, f_string_range_t *range); #endif // _di_f_string_dynamic_seek_to_ /** diff --git a/level_0/f_string/data/build/settings b/level_0/f_string/data/build/settings index 3fdf929..37f23c5 100644 --- a/level_0/f_string/data/build/settings +++ b/level_0/f_string/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_thread/c/private-thread.h b/level_0/f_thread/c/private-thread.h index d44169a..fbd416a 100644 --- a/level_0/f_thread/c/private-thread.h +++ b/level_0/f_thread/c/private-thread.h @@ -50,7 +50,7 @@ extern "C" { * @see f_thread_sets_resize() */ #if !defined(_di_f_thread_attributes_adjust_) || !defined(_di_f_thread_attributes_decimate_by_) || !defined(_di_f_thread_attributes_decrease_) || !defined(_di_f_thread_attributes_decrease_by_) || !defined(_di_f_thread_attributes_increase_) || !defined(_di_f_thread_attributes_increase_by_) || !defined(_di_f_thread_attributes_resize_) || !defined(_di_f_thread_sets_adjust_) || !defined(_di_f_thread_sets_decimate_by_) || !defined(_di_f_thread_sets_decrease_) || !defined(_di_f_thread_sets_decrease_by_) || !defined(_di_f_thread_sets_increase_) || !defined(_di_f_thread_sets_increase_by_) || !defined(_di_f_thread_sets_resize_) - extern f_status_t private_f_thread_attribute_delete(f_thread_attribute_t *attribute) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_attribute_delete(f_thread_attribute_t *attribute) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_attributes_adjust_) || !defined(_di_f_thread_attributes_decimate_by_) || !defined(_di_f_thread_attributes_decrease_) || !defined(_di_f_thread_attributes_decrease_by_) || !defined(_di_f_thread_attributes_increase_) || !defined(_di_f_thread_attributes_increase_by_) || !defined(_di_f_thread_sets_adjust_) || !defined(_di_f_thread_sets_decimate_by_) || !defined(_di_f_thread_sets_decrease_) || !defined(_di_f_thread_sets_decrease_by_) || !defined(_di_f_thread_sets_increase_) || !defined(_di_f_thread_sets_increase_by_) /** @@ -73,7 +73,7 @@ extern "C" { * @see f_thread_attributes_decimate_by() */ #if !defined(_di_f_thread_attributes_adjust_) || !defined(_di_f_thread_attributes_decimate_by_) - extern f_status_t private_f_thread_attributes_adjust(const f_array_length_t length, f_thread_attributes_t *attributes) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_attributes_adjust(const f_array_length_t length, f_thread_attributes_t *attributes) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_attributes_adjust_) || !defined(_di_f_thread_attributes_decimate_by_) /** @@ -97,7 +97,7 @@ extern "C" { * @see f_thread_attributes_increase_by() */ #if !defined(_di_f_thread_attributes_decrease_by_) || !defined(_di_f_thread_attributes_increase_) || !defined(_di_f_thread_attributes_increase_by_) - extern f_status_t private_f_thread_attributes_resize(const f_array_length_t length, f_thread_attributes_t *attributes) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_attributes_resize(const f_array_length_t length, f_thread_attributes_t *attributes) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_attributes_decrease_by_) || !defined(_di_f_thread_attributes_increase_) || !defined(_di_f_thread_attributes_increase_by_) /** @@ -128,7 +128,7 @@ extern "C" { * @see f_thread_barriers_resize() */ #if !defined(_di_f_thread_barriers_adjust_) || !defined(_di_f_thread_barriers_decimate_by_) || !defined(_di_f_thread_barriers_decrease_) || !defined(_di_f_thread_barriers_decrease_by_) || !defined(_di_f_thread_barriers_increase_) || !defined(_di_f_thread_barriers_increase_by_) || !defined(_di_f_thread_barriers_resize_) - extern f_status_t private_f_thread_barrier_delete(f_thread_barrier_t *barrier) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_barrier_delete(f_thread_barrier_t *barrier) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_barriers_adjust_) || !defined(_di_f_thread_barriers_decimate_by_) || !defined(_di_f_thread_barriers_decrease_) || !defined(_di_f_thread_barriers_decrease_by_) || !defined(_di_f_thread_barriers_increase_) || !defined(_di_f_thread_barriers_increase_by_) || !defined(_di_f_thread_barriers_resize_) /** @@ -151,7 +151,7 @@ extern "C" { * @see f_thread_barriers_decimate_by() */ #if !defined(_di_f_thread_barriers_adjust_) || !defined(_di_f_thread_barriers_decimate_by_) - extern f_status_t private_f_thread_barriers_adjust(const f_array_length_t length, f_thread_barriers_t *barriers) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_barriers_adjust(const f_array_length_t length, f_thread_barriers_t *barriers) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_barriers_adjust_) || !defined(_di_f_thread_barriers_decimate_by_) /** @@ -175,7 +175,7 @@ extern "C" { * @see f_thread_barriers_increase_by() */ #if !defined(_di_f_thread_barriers_decrease_by_) || !defined(_di_f_thread_barriers_increase_) || !defined(_di_f_thread_barriers_increase_by_) - extern f_status_t private_f_thread_barriers_resize(const f_array_length_t length, f_thread_barriers_t *barriers) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_barriers_resize(const f_array_length_t length, f_thread_barriers_t *barriers) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_barriers_decrease_by_) || !defined(_di_f_thread_barriers_increase_) || !defined(_di_f_thread_barriers_increase_by_) /** @@ -206,7 +206,7 @@ extern "C" { * @see f_thread_barrier_attributes_resize() */ #if !defined(_di_f_thread_barrier_attributes_adjust_) || !defined(_di_f_thread_barrier_attributes_decimate_by_) || !defined(_di_f_thread_barrier_attributes_decrease_) || !defined(_di_f_thread_barrier_attributes_decrease_by_) || !defined(_di_f_thread_barrier_attributes_increase_) || !defined(_di_f_thread_barrier_attributes_increase_by_) || !defined(_di_f_thread_barrier_attributes_resize_) - extern f_status_t private_f_thread_barrier_attribute_delete(f_thread_barrier_attribute_t *attribute) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_barrier_attribute_delete(f_thread_barrier_attribute_t *attribute) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_barrier_attributes_adjust_) || !defined(_di_f_thread_barrier_attributes_decimate_by_) || !defined(_di_f_thread_barrier_attributes_decrease_) || !defined(_di_f_thread_barrier_attributes_decrease_by_) || !defined(_di_f_thread_barrier_attributes_increase_) || !defined(_di_f_thread_barrier_attributes_increase_by_) || !defined(_di_f_thread_barrier_attributes_resize_) /** @@ -229,7 +229,7 @@ extern "C" { * @see f_thread_barrier_attributes_decimate_by() */ #if !defined(_di_f_thread_barrier_attributes_adjust_) || !defined(_di_f_thread_barrier_attributes_decimate_by_) - extern f_status_t private_f_thread_barrier_attributes_adjust(const f_array_length_t length, f_thread_barrier_attributes_t *attributes) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_barrier_attributes_adjust(const f_array_length_t length, f_thread_barrier_attributes_t *attributes) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_barrier_attributes_adjust_) || !defined(_di_f_thread_barrier_attributes_decimate_by_) /** @@ -253,7 +253,7 @@ extern "C" { * @see f_thread_barrier_attributes_increase_by() */ #if !defined(_di_f_thread_barrier_attributes_decrease_by_) || !defined(_di_f_thread_barrier_attributes_increase_) || !defined(_di_f_thread_barrier_attributes_increase_by_) - extern f_status_t private_f_thread_barrier_attributes_resize(const f_array_length_t length, f_thread_barrier_attributes_t *attributes) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_barrier_attributes_resize(const f_array_length_t length, f_thread_barrier_attributes_t *attributes) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_barrier_attributes_decrease_by_) || !defined(_di_f_thread_barrier_attributes_increase_) || !defined(_di_f_thread_barrier_attributes_increase_by_) /** @@ -284,7 +284,7 @@ extern "C" { * @see f_thread_condition_attributes_resize() */ #if !defined(_di_f_thread_condition_attributes_adjust_) || !defined(_di_f_thread_condition_attributes_decimate_by_) || !defined(_di_f_thread_condition_attributes_decrease_) || !defined(_di_f_thread_condition_attributes_decrease_by_) || !defined(_di_f_thread_condition_attributes_increase_) || !defined(_di_f_thread_condition_attributes_increase_by_) || !defined(_di_f_thread_condition_attributes_resize_) - extern f_status_t private_f_thread_condition_attribute_delete(f_thread_condition_attribute_t *attribute) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_condition_attribute_delete(f_thread_condition_attribute_t *attribute) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_condition_attributes_adjust_) || !defined(_di_f_thread_condition_attributes_decimate_by_) || !defined(_di_f_thread_condition_attributes_decrease_) || !defined(_di_f_thread_condition_attributes_decrease_by_) || !defined(_di_f_thread_condition_attributes_increase_) || !defined(_di_f_thread_condition_attributes_increase_by_) || !defined(_di_f_thread_condition_attributes_resize_) /** @@ -307,7 +307,7 @@ extern "C" { * @see f_thread_condition_attributes_decimate_by() */ #if !defined(_di_f_thread_condition_attributes_adjust_) || !defined(_di_f_thread_condition_attributes_decimate_by_) - extern f_status_t private_f_thread_condition_attributes_adjust(const f_array_length_t length, f_thread_condition_attributes_t *attributes) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_condition_attributes_adjust(const f_array_length_t length, f_thread_condition_attributes_t *attributes) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_condition_attributes_adjust_) || !defined(_di_f_thread_condition_attributes_decimate_by_) /** @@ -331,7 +331,7 @@ extern "C" { * @see f_thread_condition_attributes_increase_by() */ #if !defined(_di_f_thread_condition_attributes_decrease_by_) || !defined(_di_f_thread_condition_attributes_increase_) || !defined(_di_f_thread_condition_attributes_increase_by_) - extern f_status_t private_f_thread_condition_attributes_resize(const f_array_length_t length, f_thread_condition_attributes_t *attributes) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_condition_attributes_resize(const f_array_length_t length, f_thread_condition_attributes_t *attributes) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_condition_attributes_decrease_by_) || !defined(_di_f_thread_condition_attributes_increase_) || !defined(_di_f_thread_condition_attributes_increase_by_) /** @@ -362,7 +362,7 @@ extern "C" { * @see f_thread_conditions_resize() */ #if !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) || !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) || !defined(_di_f_thread_conditions_resize_) - extern f_status_t private_f_thread_condition_delete(f_thread_condition_t *condition) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_condition_delete(f_thread_condition_t *condition) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) || !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) || !defined(_di_f_thread_conditions_resize_) /** @@ -385,7 +385,7 @@ extern "C" { * @see f_thread_conditions_decimate_by() */ #if !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) - extern f_status_t private_f_thread_conditions_adjust(const f_array_length_t length, f_thread_conditions_t *conditions) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_conditions_adjust(const f_array_length_t length, f_thread_conditions_t *conditions) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) /** @@ -409,7 +409,7 @@ extern "C" { * @see f_thread_conditions_increase_by() */ #if !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) - extern f_status_t private_f_thread_conditions_resize(const f_array_length_t length, f_thread_conditions_t *conditions) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_conditions_resize(const f_array_length_t length, f_thread_conditions_t *conditions) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) /** @@ -438,7 +438,7 @@ extern "C" { * @see f_thread_keys_resize() */ #if !defined(_di_f_thread_keys_adjust_) || !defined(_di_f_thread_keys_decimate_by_) || !defined(_di_f_thread_keys_decrease_) || !defined(_di_f_thread_keys_decrease_by_) || !defined(_di_f_thread_keys_increase_) || !defined(_di_f_thread_keys_increase_by_) || !defined(_di_f_thread_keys_resize_) - extern f_status_t private_f_thread_key_delete(f_thread_key_t *key) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_key_delete(f_thread_key_t *key) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_keys_adjust_) || !defined(_di_f_thread_keys_decimate_by_) || !defined(_di_f_thread_keys_decrease_) || !defined(_di_f_thread_keys_decrease_by_) || !defined(_di_f_thread_keys_increase_) || !defined(_di_f_thread_keys_increase_by_) || !defined(_di_f_thread_keys_resize_) /** @@ -461,7 +461,7 @@ extern "C" { * @see f_thread_keys_decimate_by() */ #if !defined(_di_f_thread_keys_adjust_) || !defined(_di_f_thread_keys_decimate_by_) - extern f_status_t private_f_thread_keys_adjust(const f_array_length_t length, f_thread_keys_t *keys) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_keys_adjust(const f_array_length_t length, f_thread_keys_t *keys) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_keys_adjust_) || !defined(_di_f_thread_keys_decimate_by_) /** @@ -485,7 +485,7 @@ extern "C" { * @see f_thread_keys_increase_by() */ #if !defined(_di_f_thread_keys_decrease_by_) || !defined(_di_f_thread_keys_increase_) || !defined(_di_f_thread_keys_increase_by_) - extern f_status_t private_f_thread_keys_resize(const f_array_length_t length, f_thread_keys_t *keys) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_keys_resize(const f_array_length_t length, f_thread_keys_t *keys) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_keys_decrease_by_) || !defined(_di_f_thread_keys_increase_) || !defined(_di_f_thread_keys_increase_by_) /** @@ -514,7 +514,7 @@ extern "C" { * @see f_thread_locks_resize() */ #if !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) || !defined(_di_f_thread_locks_decrease_) || !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) || !defined(_di_f_thread_locks_resize_) - extern f_status_t private_f_thread_lock_delete(f_thread_lock_t *lock) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_lock_delete(f_thread_lock_t *lock) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) || !defined(_di_f_thread_locks_decrease_) || !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) || !defined(_di_f_thread_locks_resize_) /** @@ -537,7 +537,7 @@ extern "C" { * @see f_thread_locks_decimate_by() */ #if !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) - extern f_status_t private_f_thread_locks_adjust(const f_array_length_t length, f_thread_locks_t *locks) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_locks_adjust(const f_array_length_t length, f_thread_locks_t *locks) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) /** @@ -561,7 +561,7 @@ extern "C" { * @see f_thread_locks_increase_by() */ #if !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) - extern f_status_t private_f_thread_locks_resize(const f_array_length_t length, f_thread_locks_t *locks) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_locks_resize(const f_array_length_t length, f_thread_locks_t *locks) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) /** @@ -590,7 +590,7 @@ extern "C" { * @see f_thread_lock_attributes_resize() */ #if !defined(_di_f_thread_lock_attributes_adjust_) || !defined(_di_f_thread_lock_attributes_decimate_by_) || !defined(_di_f_thread_lock_attributes_decrease_) || !defined(_di_f_thread_lock_attributes_decrease_by_) || !defined(_di_f_thread_lock_attributes_increase_) || !defined(_di_f_thread_lock_attributes_increase_by_) || !defined(_di_f_thread_lock_attributes_resize_) - extern f_status_t private_f_thread_lock_attribute_delete(f_thread_lock_attribute_t *attribute) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_lock_attribute_delete(f_thread_lock_attribute_t *attribute) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_lock_attributes_adjust_) || !defined(_di_f_thread_lock_attributes_decimate_by_) || !defined(_di_f_thread_lock_attributes_decrease_) || !defined(_di_f_thread_lock_attributes_decrease_by_) || !defined(_di_f_thread_lock_attributes_increase_) || !defined(_di_f_thread_lock_attributes_increase_by_) || !defined(_di_f_thread_lock_attributes_resize_) /** @@ -613,7 +613,7 @@ extern "C" { * @see f_thread_lock_attributes_decimate_by() */ #if !defined(_di_f_thread_lock_attributes_adjust_) || !defined(_di_f_thread_lock_attributes_decimate_by_) - extern f_status_t private_f_thread_lock_attributes_adjust(const f_array_length_t length, f_thread_lock_attributes_t *attributes) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_lock_attributes_adjust(const f_array_length_t length, f_thread_lock_attributes_t *attributes) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_lock_attributes_adjust_) || !defined(_di_f_thread_lock_attributes_decimate_by_) /** @@ -637,7 +637,7 @@ extern "C" { * @see f_thread_lock_attributes_increase_by() */ #if !defined(_di_f_thread_lock_attributes_decrease_by_) || !defined(_di_f_thread_lock_attributes_increase_) || !defined(_di_f_thread_lock_attributes_increase_by_) - extern f_status_t private_f_thread_lock_attributes_resize(const f_array_length_t length, f_thread_lock_attributes_t *attributes) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_lock_attributes_resize(const f_array_length_t length, f_thread_lock_attributes_t *attributes) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_lock_attributes_decrease_by_) || !defined(_di_f_thread_lock_attributes_increase_) || !defined(_di_f_thread_lock_attributes_increase_by_) /** @@ -666,7 +666,7 @@ extern "C" { * @see f_thread_mutex_attributes_resize() */ #if !defined(_di_f_thread_mutex_attributes_adjust_) || !defined(_di_f_thread_mutex_attributes_decimate_by_) || !defined(_di_f_thread_mutex_attributes_decrease_) || !defined(_di_f_thread_mutex_attributes_decrease_by_) || !defined(_di_f_thread_mutex_attributes_increase_) || !defined(_di_f_thread_mutex_attributes_increase_by_) || !defined(_di_f_thread_mutex_attributes_resize_) - extern f_status_t private_f_thread_mutex_attribute_delete(f_thread_mutex_attribute_t *attribute) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_mutex_attribute_delete(f_thread_mutex_attribute_t *attribute) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_mutex_attributes_adjust_) || !defined(_di_f_thread_mutex_attributes_decimate_by_) || !defined(_di_f_thread_mutex_attributes_decrease_) || !defined(_di_f_thread_mutex_attributes_decrease_by_) || !defined(_di_f_thread_mutex_attributes_increase_) || !defined(_di_f_thread_mutex_attributes_increase_by_) || !defined(_di_f_thread_mutex_attributes_resize_) /** @@ -689,7 +689,7 @@ extern "C" { * @see f_thread_mutex_attributes_decimate_by() */ #if !defined(_di_f_thread_mutex_attributes_adjust_) || !defined(_di_f_thread_mutex_attributes_decimate_by_) - extern f_status_t private_f_thread_mutex_attributes_adjust(const f_array_length_t length, f_thread_mutex_attributes_t *attributes) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_mutex_attributes_adjust(const f_array_length_t length, f_thread_mutex_attributes_t *attributes) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_mutex_attributes_adjust_) || !defined(_di_f_thread_mutex_attributes_decimate_by_) /** @@ -713,7 +713,7 @@ extern "C" { * @see f_thread_mutex_attributes_increase_by() */ #if !defined(_di_f_thread_mutex_attributes_decrease_by_) || !defined(_di_f_thread_mutex_attributes_increase_) || !defined(_di_f_thread_mutex_attributes_increase_by_) - extern f_status_t private_f_thread_mutex_attributes_resize(const f_array_length_t length, f_thread_mutex_attributes_t *attributes) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_mutex_attributes_resize(const f_array_length_t length, f_thread_mutex_attributes_t *attributes) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_mutex_attributes_decrease_by_) || !defined(_di_f_thread_mutex_attributes_increase_) || !defined(_di_f_thread_mutex_attributes_increase_by_) /** @@ -742,7 +742,7 @@ extern "C" { * @see f_thread_mutexs_resize() */ #if !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) || !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) || !defined(_di_f_thread_mutexs_resize_) - extern f_status_t private_f_thread_mutex_delete(f_thread_mutex_t *mutex) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_mutex_delete(f_thread_mutex_t *mutex) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) || !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) || !defined(_di_f_thread_mutexs_resize_) /** @@ -765,7 +765,7 @@ extern "C" { * @see f_thread_mutexs_decimate_by() */ #if !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) - extern f_status_t private_f_thread_mutexs_adjust(const f_array_length_t length, f_thread_mutexs_t *mutexs) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_mutexs_adjust(const f_array_length_t length, f_thread_mutexs_t *mutexs) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) /** @@ -789,7 +789,7 @@ extern "C" { * @see f_thread_mutexs_increase_by() */ #if !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) - extern f_status_t private_f_thread_mutexs_resize(const f_array_length_t length, f_thread_mutexs_t *mutexs) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_mutexs_resize(const f_array_length_t length, f_thread_mutexs_t *mutexs) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) /** @@ -818,7 +818,7 @@ extern "C" { * @see f_thread_semaphores_resize() */ #if !defined(_di_f_thread_semaphores_adjust_) || !defined(_di_f_thread_semaphores_decimate_by_) || !defined(_di_f_thread_semaphores_decrease_) || !defined(_di_f_thread_semaphores_decrease_by_) || !defined(_di_f_thread_semaphores_increase_) || !defined(_di_f_thread_semaphores_increase_by_) || !defined(_di_f_thread_semaphores_resize_) - extern f_status_t private_f_thread_semaphore_delete(f_thread_semaphore_t *semaphore) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_semaphore_delete(f_thread_semaphore_t *semaphore) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_semaphores_adjust_) || !defined(_di_f_thread_semaphores_decimate_by_) || !defined(_di_f_thread_semaphores_decrease_) || !defined(_di_f_thread_semaphores_decrease_by_) || !defined(_di_f_thread_semaphores_increase_) || !defined(_di_f_thread_semaphores_increase_by_) || !defined(_di_f_thread_semaphores_resize_) /** @@ -841,7 +841,7 @@ extern "C" { * @see f_thread_semaphores_decimate_by() */ #if !defined(_di_f_thread_semaphores_adjust_) || !defined(_di_f_thread_semaphores_decimate_by_) - extern f_status_t private_f_thread_semaphores_adjust(const f_array_length_t length, f_thread_semaphores_t *semaphores) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_semaphores_adjust(const f_array_length_t length, f_thread_semaphores_t *semaphores) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_semaphores_adjust_) || !defined(_di_f_thread_semaphores_decimate_by_) /** @@ -865,7 +865,7 @@ extern "C" { * @see f_thread_semaphores_increase_by() */ #if !defined(_di_f_thread_semaphores_decrease_by_) || !defined(_di_f_thread_semaphores_increase_) || !defined(_di_f_thread_semaphores_increase_by_) - extern f_status_t private_f_thread_semaphores_resize(const f_array_length_t length, f_thread_semaphores_t *semaphores) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_semaphores_resize(const f_array_length_t length, f_thread_semaphores_t *semaphores) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_semaphores_decrease_by_) || !defined(_di_f_thread_semaphores_increase_) || !defined(_di_f_thread_semaphores_increase_by_) /** @@ -888,7 +888,7 @@ extern "C" { * @see f_thread_sets_decimate_by() */ #if !defined(_di_f_thread_sets_adjust_) || !defined(_di_f_thread_sets_decimate_by_) - extern f_status_t private_f_thread_sets_adjust(const f_array_length_t length, f_thread_sets_t *sets) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_sets_adjust(const f_array_length_t length, f_thread_sets_t *sets) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_sets_adjust_) || !defined(_di_f_thread_sets_decimate_by_) /** @@ -912,7 +912,7 @@ extern "C" { * @see f_thread_sets_increase_by() */ #if !defined(_di_f_thread_sets_decrease_by_) || !defined(_di_f_thread_sets_increase_) || !defined(_di_f_thread_sets_increase_by_) - extern f_status_t private_f_thread_sets_resize(const f_array_length_t length, f_thread_sets_t *sets) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_sets_resize(const f_array_length_t length, f_thread_sets_t *sets) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_sets_decrease_by_) || !defined(_di_f_thread_sets_increase_) || !defined(_di_f_thread_sets_increase_by_) /** @@ -941,7 +941,7 @@ extern "C" { * @see f_thread_spins_resize() */ #if !defined(_di_f_thread_spins_adjust_) || !defined(_di_f_thread_spins_decimate_by_) || !defined(_di_f_thread_spins_decrease_) || !defined(_di_f_thread_spins_decrease_by_) || !defined(_di_f_thread_spins_increase_) || !defined(_di_f_thread_spins_increase_by_) || !defined(_di_f_thread_spins_resize_) - extern f_status_t private_f_thread_spin_delete(f_thread_spin_t *spin) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_spin_delete(f_thread_spin_t *spin) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_spins_adjust_) || !defined(_di_f_thread_spins_decimate_by_) || !defined(_di_f_thread_spins_decrease_) || !defined(_di_f_thread_spins_decrease_by_) || !defined(_di_f_thread_spins_increase_) || !defined(_di_f_thread_spins_increase_by_) || !defined(_di_f_thread_spins_resize_) /** @@ -964,7 +964,7 @@ extern "C" { * @see f_thread_spins_decimate_by() */ #if !defined(_di_f_thread_spins_adjust_) || !defined(_di_f_thread_spins_decimate_by_) - extern f_status_t private_f_thread_spins_adjust(const f_array_length_t length, f_thread_spins_t *spins) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_spins_adjust(const f_array_length_t length, f_thread_spins_t *spins) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_spins_adjust_) || !defined(_di_f_thread_spins_decimate_by_) /** @@ -988,7 +988,7 @@ extern "C" { * @see f_thread_spins_increase_by() */ #if !defined(_di_f_thread_spins_decrease_by_) || !defined(_di_f_thread_spins_increase_) || !defined(_di_f_thread_spins_increase_by_) - extern f_status_t private_f_thread_spins_resize(const f_array_length_t length, f_thread_spins_t *spins) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_thread_spins_resize(const f_array_length_t length, f_thread_spins_t *spins) f_attribute_visibility_internal; #endif // !defined(_di_f_thread_spins_decrease_by_) || !defined(_di_f_thread_spins_increase_) || !defined(_di_f_thread_spins_increase_by_) #ifdef __cplusplus diff --git a/level_0/f_thread/data/build/settings b/level_0/f_thread/data/build/settings index 55062ff..63a75df 100644 --- a/level_0/f_thread/data/build/settings +++ b/level_0/f_thread/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_type/c/type.h b/level_0/f_type/c/type.h index bdd5791..4b5b186 100644 --- a/level_0/f_type/c/type.h +++ b/level_0/f_type/c/type.h @@ -215,18 +215,18 @@ extern "C" { #endif // _di_f_cell_t_ /** - * GCC-specific features. + * Compiler-specific attribute visibility features. * - * Use these macros for GCC-specific tweaks so that if GCC is not supported then they can be easily disabled. + * Use these macros for visibility-specific tweaks so that if these are not supported by any given compiler, then they can be easily disabled. * - * f_gcc_attribute_visibility_internal provides a way to make some functions effectively private. + * f_attribute_visibility_internal provides a way to make some functions effectively private. */ -#ifndef _di_f_gcc_specific_ - #define f_gcc_attribute_visibility_default __attribute__((visibility("default"))) - #define f_gcc_attribute_visibility_hidden __attribute__((visibility("hidden"))) - #define f_gcc_attribute_visibility_internal __attribute__((visibility("internal"))) - #define f_gcc_attribute_visibility_protected __attribute__((visibility("protected"))) -#endif // _di_f_gcc_specific_ +#ifndef _di_f_attribute_visibility_ + #define f_attribute_visibility_hidden __attribute__((visibility("hidden"))) + #define f_attribute_visibility_internal __attribute__((visibility("internal"))) + #define f_attribute_visibility_protected __attribute__((visibility("protected"))) + #define f_attribute_visibility_public __attribute__((visibility("default"))) +#endif // _di_f_attribute_visibility_ /** * A structure representing a set of modes intended to be used by file or directory operations. diff --git a/level_0/f_type/data/build/settings b/level_0/f_type/data/build/settings index c423679..e445cd5 100644 --- a/level_0/f_type/data/build/settings +++ b/level_0/f_type/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_type_array/c/private-type_array.h b/level_0/f_type_array/c/private-type_array.h index a0cf070..8645447 100644 --- a/level_0/f_type_array/c/private-type_array.h +++ b/level_0/f_type_array/c/private-type_array.h @@ -35,7 +35,7 @@ extern "C" { * @see f_type_cells_decimate_by() */ #if !defined(_di_f_type_cells_adjust_) || !defined(_di_f_type_cells_decimate_by_) - extern f_status_t private_f_type_cells_adjust(const f_array_length_t length, f_cells_t *cells) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_cells_adjust(const f_array_length_t length, f_cells_t *cells) f_attribute_visibility_internal; #endif // !defined(_di_f_type_cells_adjust_) || !defined(_di_f_type_cells_decimate_by_) /** @@ -57,7 +57,7 @@ extern "C" { * @see f_type_cellss_append() */ #if !defined(_di_f_type_cells_append_) || !defined(_di_f_type_cellss_append_) - extern f_status_t private_f_type_cells_append(const f_cells_t source, f_cells_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_cells_append(const f_cells_t source, f_cells_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_type_cells_append_) || !defined(_di_f_type_cellss_append_) /** @@ -82,7 +82,7 @@ extern "C" { * @see f_type_cellss_append() */ #if !defined(_di_f_type_cells_resize_) || !defined(_di_f_type_cells_append_) || !defined(_di_f_type_cells_decimate_by_) || !defined(_di_f_type_cellss_append_) - extern f_status_t private_f_type_cells_resize(const f_array_length_t length, f_cells_t *cells) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_cells_resize(const f_array_length_t length, f_cells_t *cells) f_attribute_visibility_internal; #endif // !defined(_di_f_type_cells_resize_) || !defined(_di_f_type_cells_append_) || !defined(_di_f_type_cells_decimate_by_) || !defined(_di_f_type_cellss_append_) /** @@ -110,7 +110,7 @@ extern "C" { * @see f_type_cellss_decimate_by() */ #if !defined(_di_f_type_cellss_adjust_) || !defined(_di_f_type_cellss_decimate_by_) - extern f_status_t private_f_type_cellss_adjust(const f_array_length_t length, f_cellss_t *cellss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_cellss_adjust(const f_array_length_t length, f_cellss_t *cellss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_cellss_adjust_) || !defined(_di_f_type_cellss_decimate_by_) /** @@ -140,7 +140,7 @@ extern "C" { * @see f_type_cellss_resize() */ #if !defined(_di_f_type_cellss_decrease_by_) || !defined(_di_f_type_cellss_increase_) || !defined(_di_f_type_cellss_increase_by_) || !defined(_di_f_type_cellss_resize_) - extern f_status_t private_f_type_cellss_resize(const f_array_length_t length, f_cellss_t *cellss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_cellss_resize(const f_array_length_t length, f_cellss_t *cellss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_cellss_decrease_by_) || !defined(_di_f_type_cellss_increase_) || !defined(_di_f_type_cellss_increase_by_) || !defined(_di_f_type_cellss_resize_) /** @@ -163,7 +163,7 @@ extern "C" { * @see f_type_array_lengths_decimate_by() */ #if !defined(_di_f_type_array_lengths_adjust_) || !defined(_di_f_type_array_lengths_decimate_by_) - extern f_status_t private_f_type_array_lengths_adjust(const f_array_length_t length, f_array_lengths_t *lengths) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_array_lengths_adjust(const f_array_length_t length, f_array_lengths_t *lengths) f_attribute_visibility_internal; #endif // !defined(_di_f_type_array_lengths_adjust_) || !defined(_di_f_type_array_lengths_decimate_by_) /** @@ -185,7 +185,7 @@ extern "C" { * @see f_type_array_lengthss_append() */ #if !defined(_di_f_type_array_lengths_append_) || !defined(_di_f_type_array_lengthss_append_) - extern f_status_t private_f_type_array_lengths_append(const f_array_lengths_t source, f_array_lengths_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_array_lengths_append(const f_array_lengths_t source, f_array_lengths_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_type_array_lengths_append_) || !defined(_di_f_type_array_lengthss_append_) /** @@ -210,7 +210,7 @@ extern "C" { * @see f_type_array_lengthss_append() */ #if !defined(_di_f_type_array_lengths_resize_) || !defined(_di_f_type_array_lengths_append_) || !defined(_di_f_type_array_lengths_decimate_by_) || !defined(_di_f_type_array_lengthss_append_) - extern f_status_t private_f_type_array_lengths_resize(const f_array_length_t length, f_array_lengths_t *lengths) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_array_lengths_resize(const f_array_length_t length, f_array_lengths_t *lengths) f_attribute_visibility_internal; #endif // !defined(_di_f_type_array_lengths_resize_) || !defined(_di_f_type_array_lengths_append_) || !defined(_di_f_type_array_lengths_decimate_by_) || !defined(_di_f_type_array_lengthss_append_) /** @@ -238,7 +238,7 @@ extern "C" { * @see f_type_array_lengthss_decimate_by() */ #if !defined(_di_f_type_array_lengthss_adjust_) || !defined(_di_f_type_array_lengthss_decimate_by_) - extern f_status_t private_f_type_array_lengthss_adjust(const f_array_length_t length, f_array_lengthss_t *lengthss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_array_lengthss_adjust(const f_array_length_t length, f_array_lengthss_t *lengthss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_array_lengthss_adjust_) || !defined(_di_f_type_array_lengthss_decimate_by_) /** @@ -268,7 +268,7 @@ extern "C" { * @see f_type_array_lengthss_resize() */ #if !defined(_di_f_type_array_lengthss_decrease_by_) || !defined(_di_f_type_array_lengthss_increase_) || !defined(_di_f_type_array_lengthss_increase_by_) || !defined(_di_f_type_array_lengthss_resize_) - extern f_status_t private_f_type_array_lengthss_resize(const f_array_length_t length, f_array_lengthss_t *lengthss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_array_lengthss_resize(const f_array_length_t length, f_array_lengthss_t *lengthss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_array_lengthss_decrease_by_) || !defined(_di_f_type_array_lengthss_increase_) || !defined(_di_f_type_array_lengthss_increase_by_) || !defined(_di_f_type_array_lengthss_resize_) /** @@ -291,7 +291,7 @@ extern "C" { * @see f_type_int8s_decimate_by() */ #if !defined(_di_f_type_int8s_adjust_) || !defined(_di_f_type_int8s_decimate_by_) - extern f_status_t private_f_type_int8s_adjust(const f_array_length_t length, f_int8s_t *int8s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int8s_adjust(const f_array_length_t length, f_int8s_t *int8s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int8s_adjust_) || !defined(_di_f_type_int8s_decimate_by_) /** @@ -313,7 +313,7 @@ extern "C" { * @see f_type_int8ss_append() */ #if !defined(_di_f_type_int8s_append_) || !defined(_di_f_type_int8ss_append_) - extern f_status_t private_f_type_int8s_append(const f_int8s_t source, f_int8s_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int8s_append(const f_int8s_t source, f_int8s_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int8s_append_) || !defined(_di_f_type_int8ss_append_) /** @@ -338,7 +338,7 @@ extern "C" { * @see f_type_int8ss_append() */ #if !defined(_di_f_type_int8s_resize_) || !defined(_di_f_type_int8s_append_) || !defined(_di_f_type_int8s_decimate_by_) || !defined(_di_f_type_int8ss_append_) - extern f_status_t private_f_type_int8s_resize(const f_array_length_t length, f_int8s_t *int8s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int8s_resize(const f_array_length_t length, f_int8s_t *int8s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int8s_resize_) || !defined(_di_f_type_int8s_append_) || !defined(_di_f_type_int8s_decimate_by_) || !defined(_di_f_type_int8ss_append_) /** @@ -366,7 +366,7 @@ extern "C" { * @see f_type_int8ss_decimate_by() */ #if !defined(_di_f_type_int8ss_adjust_) || !defined(_di_f_type_int8ss_decimate_by_) - extern f_status_t private_f_type_int8ss_adjust(const f_array_length_t length, f_int8ss_t *int8ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int8ss_adjust(const f_array_length_t length, f_int8ss_t *int8ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int8ss_adjust_) || !defined(_di_f_type_int8ss_decimate_by_) /** @@ -396,7 +396,7 @@ extern "C" { * @see f_type_int8ss_resize() */ #if !defined(_di_f_type_int8ss_decrease_by_) || !defined(_di_f_type_int8ss_increase_) || !defined(_di_f_type_int8ss_increase_by_) || !defined(_di_f_type_int8ss_resize_) - extern f_status_t private_f_type_int8ss_resize(const f_array_length_t length, f_int8ss_t *int8ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int8ss_resize(const f_array_length_t length, f_int8ss_t *int8ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int8ss_decrease_by_) || !defined(_di_f_type_int8ss_increase_) || !defined(_di_f_type_int8ss_increase_by_) || !defined(_di_f_type_int8ss_resize_) /** @@ -419,7 +419,7 @@ extern "C" { * @see f_type_uint8s_decimate_by() */ #if !defined(_di_f_type_uint8s_adjust_) || !defined(_di_f_type_uint8s_decimate_by_) - extern f_status_t private_f_type_uint8s_adjust(const f_array_length_t length, f_uint8s_t *uint8s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint8s_adjust(const f_array_length_t length, f_uint8s_t *uint8s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint8s_adjust_) || !defined(_di_f_type_uint8s_decimate_by_) /** @@ -441,7 +441,7 @@ extern "C" { * @see f_type_uint8ss_append() */ #if !defined(_di_f_type_uint8s_append_) || !defined(_di_f_type_uint8ss_append_) - extern f_status_t private_f_type_uint8s_append(const f_uint8s_t source, f_uint8s_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint8s_append(const f_uint8s_t source, f_uint8s_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint8s_append_) || !defined(_di_f_type_uint8ss_append_) /** @@ -466,7 +466,7 @@ extern "C" { * @see f_type_uint8ss_append() */ #if !defined(_di_f_type_uint8s_resize_) || !defined(_di_f_type_uint8s_append_) || !defined(_di_f_type_uint8s_decimate_by_) || !defined(_di_f_type_uint8ss_append_) - extern f_status_t private_f_type_uint8s_resize(const f_array_length_t length, f_uint8s_t *uint8s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint8s_resize(const f_array_length_t length, f_uint8s_t *uint8s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint8s_resize_) || !defined(_di_f_type_uint8s_append_) || !defined(_di_f_type_uint8s_decimate_by_) || !defined(_di_f_type_uint8ss_append_) /** @@ -494,7 +494,7 @@ extern "C" { * @see f_type_uint8ss_decimate_by() */ #if !defined(_di_f_type_uint8ss_adjust_) || !defined(_di_f_type_uint8ss_decimate_by_) - extern f_status_t private_f_type_uint8ss_adjust(const f_array_length_t length, f_uint8ss_t *uint8ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint8ss_adjust(const f_array_length_t length, f_uint8ss_t *uint8ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint8ss_adjust_) || !defined(_di_f_type_uint8ss_decimate_by_) /** @@ -524,7 +524,7 @@ extern "C" { * @see f_type_uint8ss_resize() */ #if !defined(_di_f_type_uint8ss_decrease_by_) || !defined(_di_f_type_uint8ss_increase_) || !defined(_di_f_type_uint8ss_increase_by_) || !defined(_di_f_type_uint8ss_resize_) - extern f_status_t private_f_type_uint8ss_resize(const f_array_length_t length, f_uint8ss_t *uint8ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint8ss_resize(const f_array_length_t length, f_uint8ss_t *uint8ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint8ss_decrease_by_) || !defined(_di_f_type_uint8ss_increase_) || !defined(_di_f_type_uint8ss_increase_by_) || !defined(_di_f_type_uint8ss_resize_) /** @@ -547,7 +547,7 @@ extern "C" { * @see f_type_int16s_decimate_by() */ #if !defined(_di_f_type_int16s_adjust_) || !defined(_di_f_type_int16s_decimate_by_) - extern f_status_t private_f_type_int16s_adjust(const f_array_length_t length, f_int16s_t *int16s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int16s_adjust(const f_array_length_t length, f_int16s_t *int16s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int16s_adjust_) || !defined(_di_f_type_int16s_decimate_by_) /** @@ -569,7 +569,7 @@ extern "C" { * @see f_type_int16ss_append() */ #if !defined(_di_f_type_int16s_append_) || !defined(_di_f_type_int16ss_append_) - extern f_status_t private_f_type_int16s_append(const f_int16s_t source, f_int16s_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int16s_append(const f_int16s_t source, f_int16s_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int16s_append_) || !defined(_di_f_type_int16ss_append_) /** @@ -594,7 +594,7 @@ extern "C" { * @see f_type_int16ss_append() */ #if !defined(_di_f_type_int16s_resize_) || !defined(_di_f_type_int16s_append_) || !defined(_di_f_type_int16s_decimate_by_) || !defined(_di_f_type_int16ss_append_) - extern f_status_t private_f_type_int16s_resize(const f_array_length_t length, f_int16s_t *int16s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int16s_resize(const f_array_length_t length, f_int16s_t *int16s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int16s_resize_) || !defined(_di_f_type_int16s_append_) || !defined(_di_f_type_int16s_decimate_by_) || !defined(_di_f_type_int16ss_append_) /** @@ -622,7 +622,7 @@ extern "C" { * @see f_type_int16ss_decimate_by() */ #if !defined(_di_f_type_int16ss_adjust_) || !defined(_di_f_type_int16ss_decimate_by_) - extern f_status_t private_f_type_int16ss_adjust(const f_array_length_t length, f_int16ss_t *int16ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int16ss_adjust(const f_array_length_t length, f_int16ss_t *int16ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int16ss_adjust_) || !defined(_di_f_type_int16ss_decimate_by_) /** @@ -652,7 +652,7 @@ extern "C" { * @see f_type_int16ss_resize() */ #if !defined(_di_f_type_int16ss_decrease_by_) || !defined(_di_f_type_int16ss_increase_) || !defined(_di_f_type_int16ss_increase_by_) || !defined(_di_f_type_int16ss_resize_) - extern f_status_t private_f_type_int16ss_resize(const f_array_length_t length, f_int16ss_t *int16ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int16ss_resize(const f_array_length_t length, f_int16ss_t *int16ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int16ss_decrease_by_) || !defined(_di_f_type_int16ss_increase_) || !defined(_di_f_type_int16ss_increase_by_) || !defined(_di_f_type_int16ss_resize_) /** @@ -675,7 +675,7 @@ extern "C" { * @see f_type_uint16s_decimate_by() */ #if !defined(_di_f_type_uint16s_adjust_) || !defined(_di_f_type_uint16s_decimate_by_) - extern f_status_t private_f_type_uint16s_adjust(const f_array_length_t length, f_uint16s_t *uint16s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint16s_adjust(const f_array_length_t length, f_uint16s_t *uint16s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint16s_adjust_) || !defined(_di_f_type_uint16s_decimate_by_) /** @@ -697,7 +697,7 @@ extern "C" { * @see f_type_uint16ss_append() */ #if !defined(_di_f_type_uint16s_append_) || !defined(_di_f_type_uint16ss_append_) - extern f_status_t private_f_type_uint16s_append(const f_uint16s_t source, f_uint16s_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint16s_append(const f_uint16s_t source, f_uint16s_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint16s_append_) || !defined(_di_f_type_uint16ss_append_) /** @@ -722,7 +722,7 @@ extern "C" { * @see f_type_uint16ss_append() */ #if !defined(_di_f_type_uint16s_resize_) || !defined(_di_f_type_uint16s_append_) || !defined(_di_f_type_uint16s_decimate_by_) || !defined(_di_f_type_uint16ss_append_) - extern f_status_t private_f_type_uint16s_resize(const f_array_length_t length, f_uint16s_t *uint16s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint16s_resize(const f_array_length_t length, f_uint16s_t *uint16s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint16s_resize_) || !defined(_di_f_type_uint16s_append_) || !defined(_di_f_type_uint16s_decimate_by_) || !defined(_di_f_type_uint16ss_append_) /** @@ -750,7 +750,7 @@ extern "C" { * @see f_type_uint16ss_decimate_by() */ #if !defined(_di_f_type_uint16ss_adjust_) || !defined(_di_f_type_uint16ss_decimate_by_) - extern f_status_t private_f_type_uint16ss_adjust(const f_array_length_t length, f_uint16ss_t *uint16ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint16ss_adjust(const f_array_length_t length, f_uint16ss_t *uint16ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint16ss_adjust_) || !defined(_di_f_type_uint16ss_decimate_by_) /** @@ -780,7 +780,7 @@ extern "C" { * @see f_type_uint16ss_resize() */ #if !defined(_di_f_type_uint16ss_decrease_by_) || !defined(_di_f_type_uint16ss_increase_) || !defined(_di_f_type_uint16ss_increase_by_) || !defined(_di_f_type_uint16ss_resize_) - extern f_status_t private_f_type_uint16ss_resize(const f_array_length_t length, f_uint16ss_t *uint16ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint16ss_resize(const f_array_length_t length, f_uint16ss_t *uint16ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint16ss_decrease_by_) || !defined(_di_f_type_uint16ss_increase_) || !defined(_di_f_type_uint16ss_increase_by_) || !defined(_di_f_type_uint16ss_resize_) /** @@ -803,7 +803,7 @@ extern "C" { * @see f_type_int32s_decimate_by() */ #if !defined(_di_f_type_int32s_adjust_) || !defined(_di_f_type_int32s_decimate_by_) - extern f_status_t private_f_type_int32s_adjust(const f_array_length_t length, f_int32s_t *int32s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int32s_adjust(const f_array_length_t length, f_int32s_t *int32s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int32s_adjust_) || !defined(_di_f_type_int32s_decimate_by_) /** @@ -825,7 +825,7 @@ extern "C" { * @see f_type_int32ss_append() */ #if !defined(_di_f_type_int32s_append_) || !defined(_di_f_type_int32ss_append_) - extern f_status_t private_f_type_int32s_append(const f_int32s_t source, f_int32s_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int32s_append(const f_int32s_t source, f_int32s_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int32s_append_) || !defined(_di_f_type_int32ss_append_) /** @@ -850,7 +850,7 @@ extern "C" { * @see f_type_int32ss_append() */ #if !defined(_di_f_type_int32s_resize_) || !defined(_di_f_type_int32s_append_) || !defined(_di_f_type_int32s_decimate_by_) || !defined(_di_f_type_int32ss_append_) - extern f_status_t private_f_type_int32s_resize(const f_array_length_t length, f_int32s_t *int32s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int32s_resize(const f_array_length_t length, f_int32s_t *int32s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int32s_resize_) || !defined(_di_f_type_int32s_append_) || !defined(_di_f_type_int32s_decimate_by_) || !defined(_di_f_type_int32ss_append_) /** @@ -878,7 +878,7 @@ extern "C" { * @see f_type_int32ss_decimate_by() */ #if !defined(_di_f_type_int32ss_adjust_) || !defined(_di_f_type_int32ss_decimate_by_) - extern f_status_t private_f_type_int32ss_adjust(const f_array_length_t length, f_int32ss_t *int32ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int32ss_adjust(const f_array_length_t length, f_int32ss_t *int32ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int32ss_adjust_) || !defined(_di_f_type_int32ss_decimate_by_) /** @@ -908,7 +908,7 @@ extern "C" { * @see f_type_int32ss_resize() */ #if !defined(_di_f_type_int32ss_decrease_by_) || !defined(_di_f_type_int32ss_increase_) || !defined(_di_f_type_int32ss_increase_by_) || !defined(_di_f_type_int32ss_resize_) - extern f_status_t private_f_type_int32ss_resize(const f_array_length_t length, f_int32ss_t *int32ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int32ss_resize(const f_array_length_t length, f_int32ss_t *int32ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int32ss_decrease_by_) || !defined(_di_f_type_int32ss_increase_) || !defined(_di_f_type_int32ss_increase_by_) || !defined(_di_f_type_int32ss_resize_) /** @@ -931,7 +931,7 @@ extern "C" { * @see f_type_uint32s_decimate_by() */ #if !defined(_di_f_type_uint32s_adjust_) || !defined(_di_f_type_uint32s_decimate_by_) - extern f_status_t private_f_type_uint32s_adjust(const f_array_length_t length, f_uint32s_t *uint32s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint32s_adjust(const f_array_length_t length, f_uint32s_t *uint32s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint32s_adjust_) || !defined(_di_f_type_uint32s_decimate_by_) /** @@ -953,7 +953,7 @@ extern "C" { * @see f_type_uint32ss_append() */ #if !defined(_di_f_type_uint32s_append_) || !defined(_di_f_type_uint32ss_append_) - extern f_status_t private_f_type_uint32s_append(const f_uint32s_t source, f_uint32s_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint32s_append(const f_uint32s_t source, f_uint32s_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint32s_append_) || !defined(_di_f_type_uint32ss_append_) /** @@ -978,7 +978,7 @@ extern "C" { * @see f_type_uint32ss_append() */ #if !defined(_di_f_type_uint32s_resize_) || !defined(_di_f_type_uint32s_append_) || !defined(_di_f_type_uint32s_decimate_by_) || !defined(_di_f_type_uint32ss_append_) - extern f_status_t private_f_type_uint32s_resize(const f_array_length_t length, f_uint32s_t *uint32s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint32s_resize(const f_array_length_t length, f_uint32s_t *uint32s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint32s_resize_) || !defined(_di_f_type_uint32s_append_) || !defined(_di_f_type_uint32s_decimate_by_) || !defined(_di_f_type_uint32ss_append_) /** @@ -1006,7 +1006,7 @@ extern "C" { * @see f_type_uint32ss_decimate_by() */ #if !defined(_di_f_type_uint32ss_adjust_) || !defined(_di_f_type_uint32ss_decimate_by_) - extern f_status_t private_f_type_uint32ss_adjust(const f_array_length_t length, f_uint32ss_t *uint32ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint32ss_adjust(const f_array_length_t length, f_uint32ss_t *uint32ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint32ss_adjust_) || !defined(_di_f_type_uint32ss_decimate_by_) /** @@ -1036,7 +1036,7 @@ extern "C" { * @see f_type_uint32ss_resize() */ #if !defined(_di_f_type_uint32ss_decrease_by_) || !defined(_di_f_type_uint32ss_increase_) || !defined(_di_f_type_uint32ss_increase_by_) || !defined(_di_f_type_uint32ss_resize_) - extern f_status_t private_f_type_uint32ss_resize(const f_array_length_t length, f_uint32ss_t *uint32ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint32ss_resize(const f_array_length_t length, f_uint32ss_t *uint32ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint32ss_decrease_by_) || !defined(_di_f_type_uint32ss_increase_) || !defined(_di_f_type_uint32ss_increase_by_) || !defined(_di_f_type_uint32ss_resize_) /** @@ -1059,7 +1059,7 @@ extern "C" { * @see f_type_int64s_decimate_by() */ #if !defined(_di_f_type_int64s_adjust_) || !defined(_di_f_type_int64s_decimate_by_) - extern f_status_t private_f_type_int64s_adjust(const f_array_length_t length, f_int64s_t *int64s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int64s_adjust(const f_array_length_t length, f_int64s_t *int64s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int64s_adjust_) || !defined(_di_f_type_int64s_decimate_by_) /** @@ -1081,7 +1081,7 @@ extern "C" { * @see f_type_int64ss_append() */ #if !defined(_di_f_type_int64s_append_) || !defined(_di_f_type_int64ss_append_) - extern f_status_t private_f_type_int64s_append(const f_int64s_t source, f_int64s_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int64s_append(const f_int64s_t source, f_int64s_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int64s_append_) || !defined(_di_f_type_int64ss_append_) /** @@ -1106,7 +1106,7 @@ extern "C" { * @see f_type_int64ss_append() */ #if !defined(_di_f_type_int64s_resize_) || !defined(_di_f_type_int64s_append_) || !defined(_di_f_type_int64s_decimate_by_) || !defined(_di_f_type_int64ss_append_) - extern f_status_t private_f_type_int64s_resize(const f_array_length_t length, f_int64s_t *int64s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int64s_resize(const f_array_length_t length, f_int64s_t *int64s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int64s_resize_) || !defined(_di_f_type_int64s_append_) || !defined(_di_f_type_int64s_decimate_by_) || !defined(_di_f_type_int64ss_append_) /** @@ -1134,7 +1134,7 @@ extern "C" { * @see f_type_int64ss_decimate_by() */ #if !defined(_di_f_type_int64ss_adjust_) || !defined(_di_f_type_int64ss_decimate_by_) - extern f_status_t private_f_type_int64ss_adjust(const f_array_length_t length, f_int64ss_t *int64ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int64ss_adjust(const f_array_length_t length, f_int64ss_t *int64ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int64ss_adjust_) || !defined(_di_f_type_int64ss_decimate_by_) /** @@ -1164,7 +1164,7 @@ extern "C" { * @see f_type_int64ss_resize() */ #if !defined(_di_f_type_int64ss_decrease_by_) || !defined(_di_f_type_int64ss_increase_) || !defined(_di_f_type_int64ss_increase_by_) || !defined(_di_f_type_int64ss_resize_) - extern f_status_t private_f_type_int64ss_resize(const f_array_length_t length, f_int64ss_t *int64ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int64ss_resize(const f_array_length_t length, f_int64ss_t *int64ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int64ss_decrease_by_) || !defined(_di_f_type_int64ss_increase_) || !defined(_di_f_type_int64ss_increase_by_) || !defined(_di_f_type_int64ss_resize_) /** @@ -1187,7 +1187,7 @@ extern "C" { * @see f_type_uint64s_decimate_by() */ #if !defined(_di_f_type_uint64s_adjust_) || !defined(_di_f_type_uint64s_decimate_by_) - extern f_status_t private_f_type_uint64s_adjust(const f_array_length_t length, f_uint64s_t *uint64s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint64s_adjust(const f_array_length_t length, f_uint64s_t *uint64s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint64s_adjust_) || !defined(_di_f_type_uint64s_decimate_by_) /** @@ -1209,7 +1209,7 @@ extern "C" { * @see f_type_uint64ss_append() */ #if !defined(_di_f_type_uint64s_append_) || !defined(_di_f_type_uint64ss_append_) - extern f_status_t private_f_type_uint64s_append(const f_uint64s_t source, f_uint64s_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint64s_append(const f_uint64s_t source, f_uint64s_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint64s_append_) || !defined(_di_f_type_uint64ss_append_) /** @@ -1234,7 +1234,7 @@ extern "C" { * @see f_type_uint64ss_append() */ #if !defined(_di_f_type_uint64s_resize_) || !defined(_di_f_type_uint64s_append_) || !defined(_di_f_type_uint64s_decimate_by_) || !defined(_di_f_type_uint64ss_append_) - extern f_status_t private_f_type_uint64s_resize(const f_array_length_t length, f_uint64s_t *uint64s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint64s_resize(const f_array_length_t length, f_uint64s_t *uint64s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint64s_resize_) || !defined(_di_f_type_uint64s_append_) || !defined(_di_f_type_uint64s_decimate_by_) || !defined(_di_f_type_uint64ss_append_) /** @@ -1262,7 +1262,7 @@ extern "C" { * @see f_type_uint64ss_decimate_by() */ #if !defined(_di_f_type_uint64ss_adjust_) || !defined(_di_f_type_uint64ss_decimate_by_) - extern f_status_t private_f_type_uint64ss_adjust(const f_array_length_t length, f_uint64ss_t *uint64ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint64ss_adjust(const f_array_length_t length, f_uint64ss_t *uint64ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint64ss_adjust_) || !defined(_di_f_type_uint64ss_decimate_by_) /** @@ -1292,7 +1292,7 @@ extern "C" { * @see f_type_uint64ss_resize() */ #if !defined(_di_f_type_uint64ss_decrease_by_) || !defined(_di_f_type_uint64ss_increase_) || !defined(_di_f_type_uint64ss_increase_by_) || !defined(_di_f_type_uint64ss_resize_) - extern f_status_t private_f_type_uint64ss_resize(const f_array_length_t length, f_uint64ss_t *uint64ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint64ss_resize(const f_array_length_t length, f_uint64ss_t *uint64ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint64ss_decrease_by_) || !defined(_di_f_type_uint64ss_increase_) || !defined(_di_f_type_uint64ss_increase_by_) || !defined(_di_f_type_uint64ss_resize_) /** @@ -1315,7 +1315,7 @@ extern "C" { * @see f_type_int128s_decimate_by() */ #if !defined(_di_f_type_int128s_adjust_) || !defined(_di_f_type_int128s_decimate_by_) - extern f_status_t private_f_type_int128s_adjust(const f_array_length_t length, f_int128s_t *int128s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int128s_adjust(const f_array_length_t length, f_int128s_t *int128s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int128s_adjust_) || !defined(_di_f_type_int128s_decimate_by_) /** @@ -1337,7 +1337,7 @@ extern "C" { * @see f_type_int128ss_append() */ #if !defined(_di_f_type_int128s_append_) || !defined(_di_f_type_int128ss_append_) - extern f_status_t private_f_type_int128s_append(const f_int128s_t source, f_int128s_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int128s_append(const f_int128s_t source, f_int128s_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int128s_append_) || !defined(_di_f_type_int128ss_append_) /** @@ -1362,7 +1362,7 @@ extern "C" { * @see f_type_int128ss_append() */ #if !defined(_di_f_type_int128s_resize_) || !defined(_di_f_type_int128s_append_) || !defined(_di_f_type_int128s_decimate_by_) || !defined(_di_f_type_int128ss_append_) - extern f_status_t private_f_type_int128s_resize(const f_array_length_t length, f_int128s_t *int128s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int128s_resize(const f_array_length_t length, f_int128s_t *int128s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int128s_resize_) || !defined(_di_f_type_int128s_append_) || !defined(_di_f_type_int128s_decimate_by_) || !defined(_di_f_type_int128ss_append_) /** @@ -1390,7 +1390,7 @@ extern "C" { * @see f_type_int128ss_decimate_by() */ #if !defined(_di_f_type_int128ss_adjust_) || !defined(_di_f_type_int128ss_decimate_by_) - extern f_status_t private_f_type_int128ss_adjust(const f_array_length_t length, f_int128ss_t *int128ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int128ss_adjust(const f_array_length_t length, f_int128ss_t *int128ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int128ss_adjust_) || !defined(_di_f_type_int128ss_decimate_by_) /** @@ -1420,7 +1420,7 @@ extern "C" { * @see f_type_int128ss_resize() */ #if !defined(_di_f_type_int128ss_decrease_by_) || !defined(_di_f_type_int128ss_increase_) || !defined(_di_f_type_int128ss_increase_by_) || !defined(_di_f_type_int128ss_resize_) - extern f_status_t private_f_type_int128ss_resize(const f_array_length_t length, f_int128ss_t *int128ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_int128ss_resize(const f_array_length_t length, f_int128ss_t *int128ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_int128ss_decrease_by_) || !defined(_di_f_type_int128ss_increase_) || !defined(_di_f_type_int128ss_increase_by_) || !defined(_di_f_type_int128ss_resize_) /** @@ -1443,7 +1443,7 @@ extern "C" { * @see f_type_uint128s_decimate_by() */ #if !defined(_di_f_type_uint128s_adjust_) || !defined(_di_f_type_uint128s_decimate_by_) - extern f_status_t private_f_type_uint128s_adjust(const f_array_length_t length, f_uint128s_t *uint128s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint128s_adjust(const f_array_length_t length, f_uint128s_t *uint128s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint128s_adjust_) || !defined(_di_f_type_uint128s_decimate_by_) /** @@ -1465,7 +1465,7 @@ extern "C" { * @see f_type_uint128ss_append() */ #if !defined(_di_f_type_uint128s_append_) || !defined(_di_f_type_uint128ss_append_) - extern f_status_t private_f_type_uint128s_append(const f_uint128s_t source, f_uint128s_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint128s_append(const f_uint128s_t source, f_uint128s_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint128s_append_) || !defined(_di_f_type_uint128ss_append_) /** @@ -1490,7 +1490,7 @@ extern "C" { * @see f_type_uint128ss_append() */ #if !defined(_di_f_type_uint128s_resize_) || !defined(_di_f_type_uint128s_append_) || !defined(_di_f_type_uint128s_decimate_by_) || !defined(_di_f_type_uint128ss_append_) - extern f_status_t private_f_type_uint128s_resize(const f_array_length_t length, f_uint128s_t *uint128s) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint128s_resize(const f_array_length_t length, f_uint128s_t *uint128s) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint128s_resize_) || !defined(_di_f_type_uint128s_append_) || !defined(_di_f_type_uint128s_decimate_by_) || !defined(_di_f_type_uint128ss_append_) /** @@ -1518,7 +1518,7 @@ extern "C" { * @see f_type_uint128ss_decimate_by() */ #if !defined(_di_f_type_uint128ss_adjust_) || !defined(_di_f_type_uint128ss_decimate_by_) - extern f_status_t private_f_type_uint128ss_adjust(const f_array_length_t length, f_uint128ss_t *uint128ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint128ss_adjust(const f_array_length_t length, f_uint128ss_t *uint128ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint128ss_adjust_) || !defined(_di_f_type_uint128ss_decimate_by_) /** @@ -1548,7 +1548,7 @@ extern "C" { * @see f_type_uint128ss_resize() */ #if !defined(_di_f_type_uint128ss_decrease_by_) || !defined(_di_f_type_uint128ss_increase_) || !defined(_di_f_type_uint128ss_increase_by_) || !defined(_di_f_type_uint128ss_resize_) - extern f_status_t private_f_type_uint128ss_resize(const f_array_length_t length, f_uint128ss_t *uint128ss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_type_uint128ss_resize(const f_array_length_t length, f_uint128ss_t *uint128ss) f_attribute_visibility_internal; #endif // !defined(_di_f_type_uint128ss_decrease_by_) || !defined(_di_f_type_uint128ss_increase_) || !defined(_di_f_type_uint128ss_increase_by_) || !defined(_di_f_type_uint128ss_resize_) #ifdef __cplusplus diff --git a/level_0/f_type_array/data/build/settings b/level_0/f_type_array/data/build/settings index f14e1a8..ce5667c 100644 --- a/level_0/f_type_array/data/build/settings +++ b/level_0/f_type_array/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_0/f_utf/c/private-utf.c b/level_0/f_utf/c/private-utf.c index dbbffc0..9536dee 100644 --- a/level_0/f_utf/c/private-utf.c +++ b/level_0/f_utf/c/private-utf.c @@ -577,7 +577,7 @@ extern "C" { else if (byte_second == 0x9d) { // Mathematical Alphanumeric (Bold) Symbols: U+1D7CE to U+1D7D7. - if (bytes >= 0xd9f8e && bytes <= 0xd9f97) { + if (bytes >= 0x9f8e && bytes <= 0x9f97) { return F_true; } @@ -1969,7 +1969,7 @@ extern "C" { return F_false; } - if (byte_first >= 0xe1 && byte_first <= 0xec || byte_first >= 0xee && byte_first <= 0xef) { + if ((byte_first >= 0xe1 && byte_first <= 0xec) || (byte_first >= 0xee && byte_first <= 0xef)) { if (byte_second >= 0x80 && byte_second <= 0xbf) { if (byte_third >= 0x80 && byte_third <= 0xbf) { return F_true; diff --git a/level_0/f_utf/c/private-utf.h b/level_0/f_utf/c/private-utf.h index 5d42b70..62aa1a1 100644 --- a/level_0/f_utf/c/private-utf.h +++ b/level_0/f_utf/c/private-utf.h @@ -36,7 +36,7 @@ extern "C" { * @see f_utf_is_alpha() */ #if !defined(_di_f_utf_character_is_alpha_) || !defined(_di_f_utf_is_alpha_) - extern f_status_t private_f_utf_character_is_alpha(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_alpha(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_alpha_) || !defined(_di_f_utf_is_alpha_) /** @@ -58,7 +58,7 @@ extern "C" { * @see f_utf_is_alpha_digit() */ #if !defined(_di_f_utf_character_is_alpha_digit_) || !defined(_di_f_utf_is_alpha_digit_) - extern f_status_t private_f_utf_character_is_alpha_digit(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_alpha_digit(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_alpha_digit_) || !defined(_di_f_utf_is_alpha_digit_) /** @@ -80,7 +80,7 @@ extern "C" { * @see f_utf_is_alpha_numeric() */ #if !defined(_di_f_utf_character_is_alpha_numeric_) || !defined(_di_f_utf_is_alpha_numeric_) - extern f_status_t private_f_utf_character_is_alpha_numeric(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_alpha_numeric(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_alpha_numeric_) || !defined(_di_f_utf_is_alpha_numeric_) /** @@ -102,7 +102,7 @@ extern "C" { * @see f_utf_is_ascii() */ #if !defined(_di_f_utf_character_is_ascii_) || !defined(_di_f_utf_is_ascii_) - extern f_status_t private_f_utf_character_is_ascii(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_ascii(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_ascii_) || !defined(_di_f_utf_is_ascii_) /** @@ -124,7 +124,7 @@ extern "C" { * @see f_utf_is_combining() */ #if !defined(_di_f_utf_character_is_combining_) || !defined(_di_f_utf_is_combining_) - extern f_status_t private_f_utf_character_is_combining(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_combining(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_combining_) || !defined(_di_f_utf_is_combining_) /** @@ -146,7 +146,7 @@ extern "C" { * @see f_utf_is_control() */ #if !defined(_di_f_utf_character_is_control_) || !defined(_di_f_utf_is_control_) - extern f_status_t private_f_utf_character_is_control(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_control(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_control_) || !defined(_di_f_utf_is_control_) /** @@ -168,7 +168,7 @@ extern "C" { * @see f_utf_is_control_picture() */ #if !defined(_di_f_utf_character_is_control_picture_) || !defined(_di_f_utf_is_control_picture_) - extern f_status_t private_f_utf_character_is_control_picture(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_control_picture(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_control_picture_) || !defined(_di_f_utf_is_control_picture_) /** @@ -190,7 +190,7 @@ extern "C" { * @see f_utf_is_digit() */ #if !defined(_di_f_utf_character_is_digit_) || !defined(_di_f_utf_is_digit_) - extern f_status_t private_f_utf_character_is_digit(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_digit(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_digit_) || !defined(_di_f_utf_is_digit_) /** @@ -212,7 +212,7 @@ extern "C" { * @see f_utf_is_emoji() */ #if !defined(_di_f_utf_character_is_emoji_) || !defined(_di_f_utf_is_emoji_) - extern f_status_t private_f_utf_character_is_emoji(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_emoji(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_emoji_) || !defined(_di_f_utf_is_emoji_) /** @@ -234,7 +234,7 @@ extern "C" { * @see f_utf_is_numeric() */ #if !defined(_di_f_utf_character_is_numeric_) || !defined(_di_f_utf_is_numeric_) - extern f_status_t private_f_utf_character_is_numeric(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_numeric(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_numeric_) || !defined(_di_f_utf_is_numeric_) /** @@ -256,7 +256,7 @@ extern "C" { * @see f_utf_is_phonetic() */ #if !defined(_di_f_utf_character_is_phonetic_) || !defined(_di_f_utf_is_phonetic_) - extern f_status_t private_f_utf_character_is_phonetic(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_phonetic(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_phonetic_) || !defined(_di_f_utf_is_phonetic_) /** @@ -278,7 +278,7 @@ extern "C" { * @see f_utf_is_private() */ #if !defined(_di_f_utf_character_is_private_) || !defined(_di_f_utf_is_private_) - extern f_status_t private_f_utf_character_is_private(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_private(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_private_) || !defined(_di_f_utf_is_private_) /** @@ -300,7 +300,7 @@ extern "C" { * @see f_utf_is_punctuation() */ #if !defined(_di_f_utf_character_is_punctuation_) || !defined(_di_f_utf_is_punctuation_) - extern f_status_t private_f_utf_character_is_punctuation(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_punctuation(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_punctuation_) || !defined(_di_f_utf_is_punctuation_) /** @@ -322,7 +322,7 @@ extern "C" { * @see f_utf_is_symbol() */ #if !defined(_di_f_utf_character_is_symbol_) || !defined(_di_f_utf_is_symbol_) - extern f_status_t private_f_utf_character_is_symbol(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_symbol(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_symbol_) || !defined(_di_f_utf_is_symbol_) /** @@ -344,7 +344,7 @@ extern "C" { * @see f_utf_is_unassigned() */ #if !defined(_di_f_utf_character_is_unassigned_) || !defined(_di_f_utf_is_unassigned_) - extern f_status_t private_f_utf_character_is_unassigned(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_unassigned(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_unassigned_) || !defined(_di_f_utf_is_unassigned_) /** @@ -366,7 +366,7 @@ extern "C" { * @see f_utf_is_valid() */ #if !defined(_di_f_utf_character_is_valid_) || !defined(_di_f_utf_is_valid_) - extern f_status_t private_f_utf_character_is_valid(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_valid(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_valid_) || !defined(_di_f_utf_is_valid_) /** @@ -388,7 +388,7 @@ extern "C" { * @see f_utf_is_whitespace() */ #if !defined(_di_f_utf_character_is_whitespace_) || !defined(_di_f_utf_is_whitespace_) - extern f_status_t private_f_utf_character_is_whitespace(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_whitespace(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_whitespace_) || !defined(_di_f_utf_is_whitespace_) /** @@ -410,7 +410,7 @@ extern "C" { * @see f_utf_is_whitespace_modifier() */ #if !defined(_di_f_utf_character_is_whitespace_modifier_) || !defined(_di_f_utf_is_whitespace_modifier_) - extern f_status_t private_f_utf_character_is_whitespace_modifier(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_whitespace_modifier(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_whitespace_modifier_) || !defined(_di_f_utf_is_whitespace_modifier_) /** @@ -432,7 +432,7 @@ extern "C" { * @see f_utf_is_whitespace_other() */ #if !defined(_di_f_utf_character_is_whitespace_other_) || !defined(_di_f_utf_is_whitespace_other_) - extern f_status_t private_f_utf_character_is_whitespace_other(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_whitespace_other(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_whitespace_other_) || !defined(_di_f_utf_is_whitespace_other_) /** @@ -458,7 +458,7 @@ extern "C" { * @see f_utf_is_word() */ #if !defined(_di_f_utf_character_is_word_) || !defined(_di_f_utf_is_word_) - extern f_status_t private_f_utf_character_is_word(const f_utf_character_t character, const uint8_t width, const bool strict) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_word(const f_utf_character_t character, const uint8_t width, const bool strict) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_word_) || !defined(_di_f_utf_is_word_) /** @@ -484,7 +484,7 @@ extern "C" { * @see f_utf_is_word_dash() */ #if !defined(_di_f_utf_character_is_word_dash_) || !defined(_di_f_utf_is_word_dash_) - extern f_status_t private_f_utf_character_is_word_dash(const f_utf_character_t character, const uint8_t width, const bool strict) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_word_dash(const f_utf_character_t character, const uint8_t width, const bool strict) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_word_dash_) || !defined(_di_f_utf_is_word_dash_) /** @@ -510,7 +510,7 @@ extern "C" { * @see f_utf_is_word_dash_plus() */ #if !defined(_di_f_utf_character_is_word_dash_plus_) || !defined(_di_f_utf_is_word_dash_plus_) - extern f_status_t private_f_utf_character_is_word_dash_plus(const f_utf_character_t character, const uint8_t width, const bool strict) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_word_dash_plus(const f_utf_character_t character, const uint8_t width, const bool strict) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_word_dash_plus_) || !defined(_di_f_utf_is_word_dash_plus_) /** @@ -532,7 +532,7 @@ extern "C" { * @see f_utf_is_zero_width() */ #if !defined(_di_f_utf_character_is_zero_width_) || !defined(_di_f_utf_is_zero_width_) - extern f_status_t private_f_utf_character_is_zero_width(const f_utf_character_t character, const uint8_t width) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_character_is_zero_width(const f_utf_character_t character, const uint8_t width) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_character_is_zero_width_) || !defined(_di_f_utf_is_zero_width_) /** @@ -571,7 +571,7 @@ extern "C" { * @see f_utf_string_triples_append() */ #if !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(f_utf_string_dynamic_partial_append) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_triples_append_) - extern f_status_t private_f_utf_string_append(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_append(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(f_utf_string_dynamic_partial_append) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_triples_append_) /** @@ -604,7 +604,7 @@ extern "C" { * @see f_utf_string_mash_nulless() */ #if !defined(_di_f_utf_string_append_assure_nulless_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mash_nulless_) || !defined(_di_f_utf_string_mash_nulless_) - extern f_status_t private_f_utf_string_append_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_append_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_append_assure_nulless_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mash_nulless_) || !defined(_di_f_utf_string_mash_nulless_) /** @@ -634,7 +634,7 @@ extern "C" { * @see f_utf_string_triples_decimate_by() */ #if !defined(_di_f_utf_string_dynamic_adjust_) || !defined(_di_f_utf_string_dynamic_decimate_by_) || !defined(_di_f_utf_string_dynamics_adjust_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_triples_adjust_) || !defined(_di_f_utf_string_triples_decimate_by_) - extern f_status_t private_f_utf_string_dynamic_adjust(const f_array_length_t length, f_utf_string_dynamic_t *string) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_dynamic_adjust(const f_array_length_t length, f_utf_string_dynamic_t *string) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_dynamic_adjust_) || !defined(_di_f_utf_string_dynamic_decimate_by_) || !defined(_di_f_utf_string_dynamics_adjust_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_triples_adjust_) || !defined(_di_f_utf_string_triples_decimate_by_) /** @@ -682,7 +682,7 @@ extern "C" { * @see f_utf_string_triples_append() */ #if !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_append_mash_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_increase_by_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_mash_nulless_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_prepend_) || !defined(_di_f_utf_string_prepend_nulless_) || !defined(_di_f_utf_string_triples_append_) - extern f_status_t private_f_utf_string_dynamic_increase_by(const f_array_length_t amount, f_utf_string_dynamic_t *string) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_dynamic_increase_by(const f_array_length_t amount, f_utf_string_dynamic_t *string) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_append_mash_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_increase_by_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_mash_nulless_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_prepend_) || !defined(_di_f_utf_string_prepend_nulless_) || !defined(_di_f_utf_string_triples_append_) /** @@ -730,7 +730,7 @@ extern "C" { * @see f_utf_string_triples_append() */ #if !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_append_mash_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_decrease_by_) || !defined(_di_f_utf_string_dynamic_increase_) || !defined(_di_f_utf_string_dynamic_increase_by_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(f_utf_string_dynamic_partial_append) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_terminate_) || !defined(_di_f_utf_string_dynamic_terminate_after_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_mash_nulless_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_prepend_) || !defined(_di_f_utf_string_prepend_nulless_) || !defined(_di_f_utf_string_triples_append_) - extern f_status_t private_f_utf_string_dynamic_resize(const f_array_length_t length, f_utf_string_dynamic_t *string) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_dynamic_resize(const f_array_length_t length, f_utf_string_dynamic_t *string) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_append_mash_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_decrease_by_) || !defined(_di_f_utf_string_dynamic_increase_) || !defined(_di_f_utf_string_dynamic_increase_by_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(f_utf_string_dynamic_partial_append) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_terminate_) || !defined(_di_f_utf_string_dynamic_terminate_after_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_mash_nulless_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_prepend_) || !defined(_di_f_utf_string_prepend_nulless_) || !defined(_di_f_utf_string_triples_append_) /** @@ -758,7 +758,7 @@ extern "C" { * @see f_utf_string_map_multis_append() */ #if !defined(_di_f_utf_string_dynamics_adjust_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_) - extern f_status_t private_f_utf_string_dynamics_adjust(const f_array_length_t length, f_utf_string_dynamics_t *strings) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_dynamics_adjust(const f_array_length_t length, f_utf_string_dynamics_t *strings) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_dynamics_adjust_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_) /** @@ -782,7 +782,7 @@ extern "C" { * @see f_utf_string_map_multis_append() */ #if !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) - extern f_status_t private_f_utf_string_dynamics_append(const f_utf_string_dynamics_t source, f_utf_string_dynamics_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_dynamics_append(const f_utf_string_dynamics_t source, f_utf_string_dynamics_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) /** @@ -808,7 +808,7 @@ extern "C" { * @see f_utf_string_dynamics_increase_by() */ #if !defined(_di_f_utf_string_dynamics_decrease_by_) || !defined(_di_f_utf_string_dynamics_increase_) || !defined(_di_f_utf_string_dynamics_increase_by_) - extern f_status_t private_f_utf_string_dynamics_resize(const f_array_length_t length, f_utf_string_dynamics_t *strings) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_dynamics_resize(const f_array_length_t length, f_utf_string_dynamics_t *strings) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_dynamics_decrease_by_) || !defined(_di_f_utf_string_dynamics_increase_) || !defined(_di_f_utf_string_dynamics_increase_by_) /** @@ -832,7 +832,7 @@ extern "C" { * @see f_utf_string_map_multis_adjust() */ #if !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_decimate_by_) - extern f_status_t private_f_utf_string_map_multis_adjust(const f_array_length_t length, f_utf_string_map_multis_t *map_multis) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_map_multis_adjust(const f_array_length_t length, f_utf_string_map_multis_t *map_multis) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_decimate_by_) /** @@ -860,7 +860,7 @@ extern "C" { * @see f_utf_string_map_multis_terminate_after() */ #if !defined(_di_f_utf_string_map_multis_decrease_by_) || !defined(_di_f_utf_string_map_multis_increase_) || !defined(_di_f_utf_string_map_multis_increase_by_) || !defined(_di_f_utf_string_map_multis_terminate_) || !defined(_di_f_utf_string_map_multis_terminate_after_) - extern f_status_t private_f_utf_string_map_multis_resize(const f_array_length_t length, f_utf_string_map_multis_t *map_multis) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_map_multis_resize(const f_array_length_t length, f_utf_string_map_multis_t *map_multis) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_map_multis_decrease_by_) || !defined(_di_f_utf_string_map_multis_increase_) || !defined(_di_f_utf_string_map_multis_increase_by_) || !defined(_di_f_utf_string_map_multis_terminate_) || !defined(_di_f_utf_string_map_multis_terminate_after_) /** @@ -884,7 +884,7 @@ extern "C" { * @see f_utf_string_maps_adjust() */ #if !defined(_di_f_utf_string_maps_adjust_) || !defined(_di_f_utf_string_maps_decimate_by_) - extern f_status_t private_f_utf_string_maps_adjust(const f_array_length_t length, f_utf_string_maps_t *maps) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_maps_adjust(const f_array_length_t length, f_utf_string_maps_t *maps) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_maps_adjust_) || !defined(_di_f_utf_string_maps_decimate_by_) /** @@ -912,7 +912,7 @@ extern "C" { * @see f_utf_string_maps_terminate_after() */ #if !defined(_di_f_utf_string_maps_decrease_by_) || !defined(_di_f_utf_string_maps_increase_) || !defined(_di_f_utf_string_maps_increase_by_) || !defined(_di_f_utf_string_maps_terminate_) || !defined(_di_f_utf_string_maps_terminate_after_) - extern f_status_t private_f_utf_string_maps_resize(const f_array_length_t length, f_utf_string_maps_t *maps) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_maps_resize(const f_array_length_t length, f_utf_string_maps_t *maps) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_maps_decrease_by_) || !defined(_di_f_utf_string_maps_increase_) || !defined(_di_f_utf_string_maps_increase_by_) || !defined(_di_f_utf_string_maps_terminate_) || !defined(_di_f_utf_string_maps_terminate_after_) /** @@ -948,7 +948,7 @@ extern "C" { * @see f_utf_string_prepend() */ #if !defined(_di_f_utf_string_dynamic_mish_) || !defined(_di_f_utf_string_dynamic_partial_mish_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_) || !defined(_di_f_utf_string_dynamic_partial_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_assure_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_mish_) || !defined(_di_f_utf_string_prepend_assure_) || !defined(_di_f_utf_string_prepend_) - extern f_status_t private_f_utf_string_prepend(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_prepend(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_dynamic_mish_) || !defined(_di_f_utf_string_dynamic_partial_mish_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_) || !defined(_di_f_utf_string_dynamic_partial_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_assure_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_mish_) || !defined(_di_f_utf_string_prepend_assure_) || !defined(_di_f_utf_string_prepend_) /** @@ -984,7 +984,7 @@ extern "C" { * @see f_utf_string_prepend_nulless() */ #if !defined(_di_f_utf_string_dynamic_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_mish_nulless_) || !defined(_di_f_utf_string_prepend_assure_nulless_) || !defined(_di_f_utf_string_prepend_nulless_) - extern f_status_t private_f_utf_string_prepend_nulless(const f_utf_string_t source, f_array_length_t length, f_utf_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_prepend_nulless(const f_utf_string_t source, f_array_length_t length, f_utf_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_dynamic_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_mish_nulless_) || !defined(_di_f_utf_string_prepend_assure_nulless_) || !defined(_di_f_utf_string_prepend_nulless_) /** @@ -1009,7 +1009,7 @@ extern "C" { * @see f_utf_string_quantitys_decimate_by() */ #if !defined(_di_f_utf_string_quantitys_adjust_) || !defined(_di_f_utf_string_quantitys_decimate_by_) - extern f_status_t private_f_utf_string_quantitys_adjust(const f_array_length_t length, f_utf_string_quantitys_t *quantitys) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_quantitys_adjust(const f_array_length_t length, f_utf_string_quantitys_t *quantitys) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_quantitys_adjust_) || !defined(_di_f_utf_string_quantitys_decimate_by_) /** @@ -1037,7 +1037,7 @@ extern "C" { * @see f_utf_string_quantitys_terminate_after() */ #if !defined(_di_f_utf_string_quantitys_decrease_by_) || !defined(_di_f_utf_string_quantitys_increase_) || !defined(_di_f_utf_string_quantitys_increase_by_) || !defined(_di_f_utf_string_quantitys_terminate_) || !defined(_di_f_utf_string_quantitys_terminate_after_) - extern f_status_t private_f_utf_string_quantitys_resize(const f_array_length_t length, f_utf_string_quantitys_t *quantitys) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_quantitys_resize(const f_array_length_t length, f_utf_string_quantitys_t *quantitys) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_quantitys_decrease_by_) || !defined(_di_f_utf_string_quantitys_increase_) || !defined(_di_f_utf_string_quantitys_increase_by_) || !defined(_di_f_utf_string_quantitys_terminate_) || !defined(_di_f_utf_string_quantitys_terminate_after_) /** @@ -1062,7 +1062,7 @@ extern "C" { * @see f_utf_string_quantityss_decimate_by() */ #if !defined(_di_f_utf_string_quantityss_adjust_) || !defined(_di_f_utf_string_quantityss_decimate_by_) - extern f_status_t private_f_utf_string_quantityss_adjust(const f_array_length_t length, f_utf_string_quantityss_t *quantityss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_quantityss_adjust(const f_array_length_t length, f_utf_string_quantityss_t *quantityss) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_quantityss_adjust_) || !defined(_di_f_utf_string_quantityss_decimate_by_) /** @@ -1090,7 +1090,7 @@ extern "C" { * @see f_utf_string_quantityss_terminate_after() */ #if !defined(_di_f_utf_string_quantityss_decrease_by_) || !defined(_di_f_utf_string_quantityss_increase_) || !defined(_di_f_utf_string_quantityss_increase_by_) || !defined(_di_f_utf_string_quantityss_terminate_) || !defined(_di_f_utf_string_quantityss_terminate_after_) - extern f_status_t private_f_utf_string_quantityss_resize(const f_array_length_t length, f_utf_string_quantityss_t *quantityss) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_quantityss_resize(const f_array_length_t length, f_utf_string_quantityss_t *quantityss) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_quantityss_decrease_by_) || !defined(_di_f_utf_string_quantityss_increase_) || !defined(_di_f_utf_string_quantityss_increase_by_) || !defined(_di_f_utf_string_quantityss_terminate_) || !defined(_di_f_utf_string_quantityss_terminate_after_) /** @@ -1115,7 +1115,7 @@ extern "C" { * @see f_utf_string_ranges_decimate_by() */ #if !defined(_di_f_utf_string_ranges_adjust_) || !defined(_di_f_utf_string_ranges_decimate_by_) - extern f_status_t private_f_utf_string_ranges_adjust(const f_array_length_t length, f_utf_string_ranges_t *ranges) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_ranges_adjust(const f_array_length_t length, f_utf_string_ranges_t *ranges) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_ranges_adjust_) || !defined(_di_f_utf_string_ranges_decimate_by_) /** @@ -1143,7 +1143,7 @@ extern "C" { * @see f_utf_string_ranges_terminate_after() */ #if !defined(_di_f_utf_string_ranges_decrease_by_) || !defined(_di_f_utf_string_ranges_increase_) || !defined(_di_f_utf_string_ranges_increase_by_) || !defined(_di_f_utf_string_ranges_terminate_) || !defined(_di_f_utf_string_ranges_terminate_after_) - extern f_status_t private_f_utf_string_ranges_resize(const f_array_length_t length, f_utf_string_ranges_t *ranges) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_ranges_resize(const f_array_length_t length, f_utf_string_ranges_t *ranges) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_ranges_decrease_by_) || !defined(_di_f_utf_string_ranges_increase_) || !defined(_di_f_utf_string_ranges_increase_by_) || !defined(_di_f_utf_string_ranges_terminate_) || !defined(_di_f_utf_string_ranges_terminate_after_) /** @@ -1168,7 +1168,7 @@ extern "C" { * @see f_utf_string_rangess_decimate_by() */ #if !defined(_di_f_utf_string_rangess_adjust_) || !defined(_di_f_utf_string_rangess_decimate_by_) - extern f_status_t private_f_utf_string_rangess_adjust(const f_array_length_t length, f_utf_string_rangess_t *rangess) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_rangess_adjust(const f_array_length_t length, f_utf_string_rangess_t *rangess) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_rangess_adjust_) || !defined(_di_f_utf_string_rangess_decimate_by_) /** @@ -1196,7 +1196,7 @@ extern "C" { * @see f_utf_string_rangess_terminate_after() */ #if !defined(_di_f_utf_string_rangess_decrease_by_) || !defined(_di_f_utf_string_rangess_increase_) || !defined(_di_f_utf_string_rangess_increase_by_) || !defined(_di_f_utf_string_rangess_terminate_) || !defined(_di_f_utf_string_rangess_terminate_after_) - extern f_status_t private_f_utf_string_rangess_resize(const f_array_length_t length, f_utf_string_rangess_t *rangess) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_rangess_resize(const f_array_length_t length, f_utf_string_rangess_t *rangess) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_rangess_decrease_by_) || !defined(_di_f_utf_string_rangess_increase_) || !defined(_di_f_utf_string_rangess_increase_by_) || !defined(_di_f_utf_string_rangess_terminate_) || !defined(_di_f_utf_string_rangess_terminate_after_) /** @@ -1221,7 +1221,7 @@ extern "C" { * @see f_utf_string_triples_decimate_by() */ #if !defined(_di_f_utf_string_triples_adjust_) || !defined(_di_f_utf_string_triples_decimate_by_) - extern f_status_t private_f_utf_string_triples_adjust(const f_array_length_t length, f_utf_string_triples_t *triples) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_triples_adjust(const f_array_length_t length, f_utf_string_triples_t *triples) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_triples_adjust_) || !defined(_di_f_utf_string_triples_decimate_by_) /** @@ -1249,7 +1249,7 @@ extern "C" { * @see f_utf_string_triples_terminate_after() */ #if !defined(_di_f_utf_string_triples_decrease_by_) || !defined(_di_f_utf_string_triples_increase_) || !defined(_di_f_utf_string_triples_increase_by_) || !defined(_di_f_utf_string_triples_terminate_) || !defined(_di_f_utf_string_triples_terminate_after_) - extern f_status_t private_f_utf_string_triples_resize(const f_array_length_t length, f_utf_string_triples_t *triples) f_gcc_attribute_visibility_internal; + extern f_status_t private_f_utf_string_triples_resize(const f_array_length_t length, f_utf_string_triples_t *triples) f_attribute_visibility_internal; #endif // !defined(_di_f_utf_string_triples_decrease_by_) || !defined(_di_f_utf_string_triples_increase_) || !defined(_di_f_utf_string_triples_increase_by_) || !defined(_di_f_utf_string_triples_terminate_) || !defined(_di_f_utf_string_triples_terminate_after_) #ifdef __cplusplus diff --git a/level_0/f_utf/c/utf-common.c b/level_0/f_utf/c/utf-common.c index 4dba900..0fe6517 100644 --- a/level_0/f_utf/c/utf-common.c +++ b/level_0/f_utf/c/utf-common.c @@ -6,42 +6,42 @@ extern "C" { #endif #ifndef _di_f_utf_space_ - const int8_t f_utf_space_em_s[f_utf_space_em_length] = { 0xe2, 0x80, 0x83 }; - const int8_t f_utf_space_em_quad_s[f_utf_space_em_quad_length] = { 0xe2, 0x80, 0x81 }; - const int8_t f_utf_space_em_per_three_s[f_utf_space_em_per_three_length] = { 0xe2, 0x80, 0x84 }; - const int8_t f_utf_space_em_per_four_s[f_utf_space_em_per_four_length] = { 0xe2, 0x80, 0x85 }; - const int8_t f_utf_space_em_per_six_s[f_utf_space_em_per_six_length] = { 0xe2, 0x80, 0x86 }; + const uint8_t f_utf_space_em_s[f_utf_space_em_length] = { 0xe2, 0x80, 0x83 }; + const uint8_t f_utf_space_em_quad_s[f_utf_space_em_quad_length] = { 0xe2, 0x80, 0x81 }; + const uint8_t f_utf_space_em_per_three_s[f_utf_space_em_per_three_length] = { 0xe2, 0x80, 0x84 }; + const uint8_t f_utf_space_em_per_four_s[f_utf_space_em_per_four_length] = { 0xe2, 0x80, 0x85 }; + const uint8_t f_utf_space_em_per_six_s[f_utf_space_em_per_six_length] = { 0xe2, 0x80, 0x86 }; - const int8_t f_utf_space_en_s[f_utf_space_en_length] = { 0xe2, 0x80, 0x82 }; - const int8_t f_utf_space_en_quad_s[f_utf_space_en_quad_length] = { 0xe2, 0x80, 0x80 }; + const uint8_t f_utf_space_en_s[f_utf_space_en_length] = { 0xe2, 0x80, 0x82 }; + const uint8_t f_utf_space_en_quad_s[f_utf_space_en_quad_length] = { 0xe2, 0x80, 0x80 }; - const int8_t f_utf_space_line_feed_reverse_s[f_utf_space_line_feed_reverse_length] = { 0xc2, 0x8d }; - const int8_t f_utf_space_line_next_s[f_utf_space_line_next_length] = { 0xc2, 0x85 }; + const uint8_t f_utf_space_line_feed_reverse_s[f_utf_space_line_feed_reverse_length] = { 0xc2, 0x8d }; + const uint8_t f_utf_space_line_next_s[f_utf_space_line_next_length] = { 0xc2, 0x85 }; - const int8_t f_utf_space_medium_mathematical_s[f_utf_space_medium_mathematical_length] = { 0xe2, 0x81, 0x9f }; + const uint8_t f_utf_space_medium_mathematical_s[f_utf_space_medium_mathematical_length] = { 0xe2, 0x81, 0x9f }; - const int8_t f_utf_space_no_break_s[f_utf_space_no_break_length] = { 0xc2, 0xa0 }; - const int8_t f_utf_space_no_break_narrow_s[f_utf_space_no_break_narrow_length] = { 0xe2, 0x80, 0xaf }; + const uint8_t f_utf_space_no_break_s[f_utf_space_no_break_length] = { 0xc2, 0xa0 }; + const uint8_t f_utf_space_no_break_narrow_s[f_utf_space_no_break_narrow_length] = { 0xe2, 0x80, 0xaf }; - const int8_t f_utf_space_ogham_s[f_utf_space_ogham_length] = { 0xe1, 0x9a, 0x80 }; - const int8_t f_utf_space_figure_s[f_utf_space_figure_length] = { 0xe2, 0x80, 0x87 }; - const int8_t f_utf_space_punctuation_s[f_utf_space_punctuation_length] = { 0xe2, 0x80, 0x88 }; - const int8_t f_utf_space_thin_s[f_utf_space_thin_length] = { 0xe2, 0x80, 0x89 }; - const int8_t f_utf_space_hair_s[f_utf_space_hair_length] = { 0xe2, 0x80, 0x8a }; - const int8_t f_utf_space_ideographic_s[f_utf_space_ideographic_length] = { 0xe3, 0x80, 0x80 }; + const uint8_t f_utf_space_ogham_s[f_utf_space_ogham_length] = { 0xe1, 0x9a, 0x80 }; + const uint8_t f_utf_space_figure_s[f_utf_space_figure_length] = { 0xe2, 0x80, 0x87 }; + const uint8_t f_utf_space_punctuation_s[f_utf_space_punctuation_length] = { 0xe2, 0x80, 0x88 }; + const uint8_t f_utf_space_thin_s[f_utf_space_thin_length] = { 0xe2, 0x80, 0x89 }; + const uint8_t f_utf_space_hair_s[f_utf_space_hair_length] = { 0xe2, 0x80, 0x8a }; + const uint8_t f_utf_space_ideographic_s[f_utf_space_ideographic_length] = { 0xe3, 0x80, 0x80 }; - const int8_t f_utf_space_separator_line_s[f_utf_space_separator_line_length] = { 0xe2, 0x80, 0xa8 }; - const int8_t f_utf_space_separator_paragraph_s[f_utf_space_separator_paragraph_length] = { 0xe2, 0x80, 0xa8 }; + const uint8_t f_utf_space_separator_line_s[f_utf_space_separator_line_length] = { 0xe2, 0x80, 0xa8 }; + const uint8_t f_utf_space_separator_paragraph_s[f_utf_space_separator_paragraph_length] = { 0xe2, 0x80, 0xa8 }; #endif // _di_f_utf_space_ #ifndef _di_f_utf_substitute_ - const int8_t f_utf_substitute_symbol_blank_s[f_utf_substitute_symbol_blank_length] = { 0xe2, 0x90, 0xa2 }; - const int8_t f_utf_substitute_symbol_space_s[f_utf_substitute_symbol_space_length] = { 0xe2, 0x90, 0xa0 }; + const uint8_t f_utf_substitute_symbol_blank_s[f_utf_substitute_symbol_blank_length] = { 0xe2, 0x90, 0xa2 }; + const uint8_t f_utf_substitute_symbol_space_s[f_utf_substitute_symbol_space_length] = { 0xe2, 0x90, 0xa0 }; - const int8_t f_utf_substitute_middle_dot_s[f_utf_substitute_middle_dot_length] = { 0xc2, 0xb7 }; + const uint8_t f_utf_substitute_middle_dot_s[f_utf_substitute_middle_dot_length] = { 0xc2, 0xb7 }; - const int8_t f_utf_substitute_open_box_s[f_utf_substitute_open_box_length] = { 0xe2, 0x90, 0xa3 }; - const int8_t f_utf_substitute_open_box_shouldered_s[f_utf_substitute_open_box_shouldered_length] = { 0xe2, 0x8d, 0xbd }; + const uint8_t f_utf_substitute_open_box_s[f_utf_substitute_open_box_length] = { 0xe2, 0x90, 0xa3 }; + const uint8_t f_utf_substitute_open_box_shouldered_s[f_utf_substitute_open_box_shouldered_length] = { 0xe2, 0x8d, 0xbd }; #endif // _di_f_utf_substitute_ #ifdef __cplusplus diff --git a/level_0/f_utf/c/utf-common.h b/level_0/f_utf/c/utf-common.h index f8465c1..af1cec1 100644 --- a/level_0/f_utf/c/utf-common.h +++ b/level_0/f_utf/c/utf-common.h @@ -90,32 +90,32 @@ extern "C" { #define f_utf_space_separator_line_length 3 #define f_utf_space_separator_paragraph_length 3 - extern const int8_t f_utf_space_em_s[]; - extern const int8_t f_utf_space_em_quad_s[]; - extern const int8_t f_utf_space_em_per_three_s[]; - extern const int8_t f_utf_space_em_per_four_s[]; - extern const int8_t f_utf_space_em_per_six_s[]; + extern const uint8_t f_utf_space_em_s[]; + extern const uint8_t f_utf_space_em_quad_s[]; + extern const uint8_t f_utf_space_em_per_three_s[]; + extern const uint8_t f_utf_space_em_per_four_s[]; + extern const uint8_t f_utf_space_em_per_six_s[]; - extern const int8_t f_utf_space_en_s[]; - extern const int8_t f_utf_space_en_quad_s[]; + extern const uint8_t f_utf_space_en_s[]; + extern const uint8_t f_utf_space_en_quad_s[]; - extern const int8_t f_utf_space_line_feed_reverse_s[]; - extern const int8_t f_utf_space_line_next_s[]; + extern const uint8_t f_utf_space_line_feed_reverse_s[]; + extern const uint8_t f_utf_space_line_next_s[]; - extern const int8_t f_utf_space_medium_mathematical_s[]; + extern const uint8_t f_utf_space_medium_mathematical_s[]; - extern const int8_t f_utf_space_no_break_s[]; - extern const int8_t f_utf_space_no_break_narrow_s[]; + extern const uint8_t f_utf_space_no_break_s[]; + extern const uint8_t f_utf_space_no_break_narrow_s[]; - extern const int8_t f_utf_space_ogham_s[]; - extern const int8_t f_utf_space_figure_s[]; - extern const int8_t f_utf_space_punctuation_s[]; - extern const int8_t f_utf_space_thin_s[]; - extern const int8_t f_utf_space_hair_s[]; - extern const int8_t f_utf_space_ideographic_s[]; + extern const uint8_t f_utf_space_ogham_s[]; + extern const uint8_t f_utf_space_figure_s[]; + extern const uint8_t f_utf_space_punctuation_s[]; + extern const uint8_t f_utf_space_thin_s[]; + extern const uint8_t f_utf_space_hair_s[]; + extern const uint8_t f_utf_space_ideographic_s[]; - extern const int8_t f_utf_space_separator_line_s[]; - extern const int8_t f_utf_space_separator_paragraph_s[]; + extern const uint8_t f_utf_space_separator_line_s[]; + extern const uint8_t f_utf_space_separator_paragraph_s[]; #endif // _di_f_utf_space_ /** @@ -136,13 +136,13 @@ extern "C" { #define f_utf_substitute_open_box_length 3 #define f_utf_substitute_open_box_shouldered_length 3 - extern const int8_t f_utf_substitute_symbol_blank_s[]; - extern const int8_t f_utf_substitute_symbol_space_s[]; + extern const uint8_t f_utf_substitute_symbol_blank_s[]; + extern const uint8_t f_utf_substitute_symbol_space_s[]; - extern const int8_t f_utf_substitute_middle_dot_s[]; + extern const uint8_t f_utf_substitute_middle_dot_s[]; - extern const int8_t f_utf_substitute_open_box_s[]; - extern const int8_t f_utf_substitute_open_box_shouldered_s[]; + extern const uint8_t f_utf_substitute_open_box_s[]; + extern const uint8_t f_utf_substitute_open_box_shouldered_s[]; #endif // _di_f_utf_substitute_ /** @@ -151,7 +151,7 @@ extern "C" { * This is intended to be used when a single variable is desired to represent a 1-byte, 2-byte, 3-byte, or even 4-byte character. * * This "character" type is stored as a big-endian 4-byte integer (32-bits). - * A helper function, f_utf_is_big_endian(), is provided to detect system endianness so that character arrays (int8_t []) can be correctly processed. + * A helper function, f_utf_is_big_endian(), is provided to detect system endianness so that character arrays (uint8_t []) can be correctly processed. * * The byte structure is intended to be read left to right. * @@ -159,9 +159,9 @@ extern "C" { * * The f_macro_utf_character_t_mask_char_* are used to get a specific UTF-8 block as a single character range. * - * The f_macro_utf_character_t_to_char_* are used to convert a f_utf_character_t into a int8_t, for a given 8-bit block. + * The f_macro_utf_character_t_to_char_* are used to convert a f_utf_character_t into a uint8_t, for a given 8-bit block. * - * The f_macro_utf_character_t_from_char_* are used to convert a int8_t into part of a f_utf_character_t, for a given 8-bit block. + * The f_macro_utf_character_t_from_char_* are used to convert a uint8_t into part of a f_utf_character_t, for a given 8-bit block. * * The f_macro_utf_character_t_width is used to determine the width of the UTF-8 character based on f_macro_utf_byte_width. * The f_macro_utf_character_t_width_is is used to determine the width of the UTF-8 character based on f_macro_utf_byte_width_is. diff --git a/level_0/f_utf/c/utf.c b/level_0/f_utf/c/utf.c index cfaa1f5..268a9b0 100644 --- a/level_0/f_utf/c/utf.c +++ b/level_0/f_utf/c/utf.c @@ -719,7 +719,7 @@ extern "C" { #ifndef _di_f_utf_is_big_endian_ f_status_t f_utf_is_big_endian() { uint16_t test_int = (0x01 << 8) | 0x02; - int8_t test_char[2] = {0x01, 0x02}; + uint8_t test_char[2] = {0x01, 0x02}; if (!memcmp(&test_int, test_char, 2)) { return F_true; @@ -1892,7 +1892,7 @@ extern "C" { #endif // _di_f_utf_string_seek_line_ #ifndef _di_f_utf_string_seek_line_to_ - f_status_t f_utf_string_seek_line_to(const f_utf_string_t string, const int8_t seek_to, f_utf_string_range_t *range) { + f_status_t f_utf_string_seek_line_to(const f_utf_string_t string, const uint8_t seek_to, f_utf_string_range_t *range) { #ifndef _di_level_0_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ @@ -1917,7 +1917,7 @@ extern "C" { #endif // _di_f_utf_string_seek_line_to_ #ifndef _di_f_utf_string_seek_to_ - f_status_t f_utf_string_seek_to(const f_utf_string_t string, const int8_t seek_to, f_utf_string_range_t *range) { + f_status_t f_utf_string_seek_to(const f_utf_string_t string, const uint8_t seek_to, f_utf_string_range_t *range) { #ifndef _di_level_0_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ diff --git a/level_0/f_utf/c/utf.h b/level_0/f_utf/c/utf.h index 408f599..8dfb700 100644 --- a/level_0/f_utf/c/utf.h +++ b/level_0/f_utf/c/utf.h @@ -74,8 +74,8 @@ extern "C" { * The number of steps to decrement the start position. * The steps refer to characters and not integers. * Essentially this number is considered against the width of every character found. - * (For ASCII each step would be sizeof(int8_t), which is 1. - * (For UTF-8 character of width 3, each step would be (3 * sizeof(int8_t)). + * (For ASCII each step would be sizeof(uint8_t), which is 1. + * (For UTF-8 character of width 3, each step would be (3 * sizeof(uint8_t)). * * @return * F_none on success. @@ -105,8 +105,8 @@ extern "C" { * The number of steps to increment the start position. * The steps refer to characters and not integers. * Essentially this number is considered against the width of every character found. - * (For ASCII each step would be sizeof(int8_t), which is 1. - * (For UTF-8 character of width 3, each step would be (3 * sizeof(int8_t)). + * (For ASCII each step would be sizeof(uint8_t), which is 1. + * (For UTF-8 character of width 3, each step would be (3 * sizeof(uint8_t)). * * @return * F_none on success. @@ -644,14 +644,14 @@ extern "C" { #endif // _di_f_utf_character_is_zero_width_ /** - * Convert a specialized f_utf_character_t type to a int8_t, stored as a string (character buffer). + * Convert a specialized f_utf_character_t type to a uint8_t, stored as a string (character buffer). * * This will also convert ASCII characters stored in the utf_character array. * * @param utf_character * The UTF-8 characterr to convert from. * @param character - * A int8_t representation of the UTF-8 character, stored as a string of width bytes. + * A uint8_t representation of the UTF-8 character, stored as a string of width bytes. * If width_max is 0, then this should not be allocated (set the pointer address to 0). * @param width_max * The number of bytes the generated character represents. @@ -1698,7 +1698,7 @@ extern "C" { * F_utf (with error bit) if character is invalid UTF-8. */ #ifndef _di_f_utf_string_seek_line_to_ - extern f_status_t f_utf_string_seek_line_to(const f_utf_string_t string, const int8_t seek_to, f_utf_string_range_t *range); + extern f_status_t f_utf_string_seek_line_to(const f_utf_string_t string, const uint8_t seek_to, f_utf_string_range_t *range); #endif // _di_f_utf_string_seek_line_to_ /** @@ -1721,7 +1721,7 @@ extern "C" { * F_utf (with error bit) if character is invalid UTF-8. */ #ifndef _di_f_utf_string_seek_to_ - extern f_status_t f_utf_string_seek_to(const f_utf_string_t string, const int8_t seek_to, f_utf_string_range_t *range); + extern f_status_t f_utf_string_seek_to(const f_utf_string_t string, const uint8_t seek_to, f_utf_string_range_t *range); #endif // _di_f_utf_string_seek_to_ #ifdef __cplusplus diff --git a/level_0/f_utf/c/utf_dynamic.c b/level_0/f_utf/c/utf_dynamic.c index 2cc5e29..134f597 100644 --- a/level_0/f_utf/c/utf_dynamic.c +++ b/level_0/f_utf/c/utf_dynamic.c @@ -302,6 +302,8 @@ extern "C" { i++; j++; } // while + + return F_none; } #endif // _di_f_utf_string_dynamic_partial_append_assure_ @@ -342,6 +344,8 @@ extern "C" { i++; j++; } // while + + return F_none; } #endif // _di_f_utf_string_dynamic_append_assure_nulless_ @@ -683,7 +687,7 @@ extern "C" { #endif // _di_f_utf_string_dynamic_seek_line_ #ifndef _di_f_utf_string_dynamic_seek_line_to_ - f_status_t f_utf_string_dynamic_seek_line_to(const f_utf_string_static_t buffer, const int8_t seek_to_this, f_utf_string_range_t *range) { + f_status_t f_utf_string_dynamic_seek_line_to(const f_utf_string_static_t buffer, const char seek_to_this, f_utf_string_range_t *range) { #ifndef _di_level_0_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ @@ -710,7 +714,7 @@ extern "C" { #endif // _di_f_utf_string_dynamic_seek_line_to_ #ifndef _di_f_utf_string_dynamic_seek_to_ - f_status_t f_utf_string_dynamic_seek_to(const f_utf_string_static_t buffer, const int8_t seek_to_this, f_utf_string_range_t *range) { + f_status_t f_utf_string_dynamic_seek_to(const f_utf_string_static_t buffer, const char seek_to_this, f_utf_string_range_t *range) { #ifndef _di_level_0_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_0_parameter_checking_ diff --git a/level_0/f_utf/c/utf_dynamic.h b/level_0/f_utf/c/utf_dynamic.h index bc44d3c..9e98954 100644 --- a/level_0/f_utf/c/utf_dynamic.h +++ b/level_0/f_utf/c/utf_dynamic.h @@ -946,7 +946,7 @@ extern "C" { * Errors (with error bit) from: f_memory_resize(). */ #ifndef _di_f_utf_string_dynamic_seek_line_to_ - extern f_status_t f_utf_string_dynamic_seek_line_to(const f_utf_string_static_t buffer, const int8_t seek_to_this, f_utf_string_range_t *range); + extern f_status_t f_utf_string_dynamic_seek_line_to(const f_utf_string_static_t buffer, const char seek_to_this, f_utf_string_range_t *range); #endif // _di_f_utf_string_dynamic_seek_line_to_ /** @@ -973,7 +973,7 @@ extern "C" { * Errors (with error bit) from: f_memory_resize(). */ #ifndef _di_f_utf_string_dynamic_seek_to_ - extern f_status_t f_utf_string_dynamic_seek_to(const f_utf_string_static_t buffer, const int8_t seek_to_this, f_utf_string_range_t *range); + extern f_status_t f_utf_string_dynamic_seek_to(const f_utf_string_static_t buffer, const char seek_to_this, f_utf_string_range_t *range); #endif // _di_f_utf_string_dynamic_seek_to_ /** diff --git a/level_0/f_utf/data/build/settings b/level_0/f_utf/data/build/settings index 08bcc48..5063cc4 100644 --- a/level_0/f_utf/data/build/settings +++ b/level_0/f_utf/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_console/data/build/settings b/level_1/fl_console/data/build/settings index b711e4f..3d8b459 100644 --- a/level_1/fl_console/data/build/settings +++ b/level_1/fl_console/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_control_group/c/control_group.c b/level_1/fl_control_group/c/control_group.c index 34a7388..6a22760 100644 --- a/level_1/fl_control_group/c/control_group.c +++ b/level_1/fl_control_group/c/control_group.c @@ -45,7 +45,7 @@ extern "C" { status = f_file_stream_open(path, 0, &file); if (F_status_is_error(status)) break; - fprintf(file.stream, "%llu", id); + fprintf(file.stream, "%d", id); fflush(file.stream); f_file_stream_close(F_true, &file); diff --git a/level_1/fl_control_group/data/build/settings b/level_1/fl_control_group/data/build/settings index d4648fe..65e47e4 100644 --- a/level_1/fl_control_group/data/build/settings +++ b/level_1/fl_control_group/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_conversion/data/build/settings b/level_1/fl_conversion/data/build/settings index 6633b3d..873e71c 100644 --- a/level_1/fl_conversion/data/build/settings +++ b/level_1/fl_conversion/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_directory/c/private-directory.h b/level_1/fl_directory/c/private-directory.h index df787f7..80cc9de 100644 --- a/level_1/fl_directory/c/private-directory.h +++ b/level_1/fl_directory/c/private-directory.h @@ -41,7 +41,7 @@ extern "C" { * @see fl_directory_clone() */ #if !defined(_di_fl_directory_clone_) - extern f_status_t private_fl_directory_clone(const f_string_static_t source, const f_string_static_t destination, const bool role, const fl_directory_recurse_t recurse, const f_number_unsigned_t depth) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_directory_clone(const f_string_static_t source, const f_string_static_t destination, const bool role, const fl_directory_recurse_t recurse, const f_number_unsigned_t depth) f_attribute_visibility_internal; #endif // !defined(_di_fl_directory_clone_) /** @@ -73,7 +73,7 @@ extern "C" { * @see fl_directory_clone() */ #if !defined(_di_fl_directory_clone_file_) - extern f_status_t private_fl_directory_clone_file(const f_string_static_t file, const f_string_static_t source, const f_string_static_t destination, const bool role, const fl_directory_recurse_t recurse) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_directory_clone_file(const f_string_static_t file, const f_string_static_t source, const f_string_static_t destination, const bool role, const fl_directory_recurse_t recurse) f_attribute_visibility_internal; #endif // !defined(_di_fl_directory_clone_file_) /** @@ -101,7 +101,7 @@ extern "C" { * @see fl_directory_copy() */ #if !defined(_di_fl_directory_copy_) - extern f_status_t private_fl_directory_copy(const f_string_static_t source, const f_string_static_t destination, const f_mode_t mode, const fl_directory_recurse_t recurse, const f_number_unsigned_t depth) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_directory_copy(const f_string_static_t source, const f_string_static_t destination, const f_mode_t mode, const fl_directory_recurse_t recurse, const f_number_unsigned_t depth) f_attribute_visibility_internal; #endif // !defined(_di_fl_directory_copy_) /** @@ -131,7 +131,7 @@ extern "C" { * @see fl_directory_copy() */ #if !defined(_di_fl_directory_copy_file_) - extern f_status_t private_fl_directory_copy_file(const f_string_static_t file, const f_string_static_t source, const f_string_static_t destination, const f_mode_t mode, const fl_directory_recurse_t recurse) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_directory_copy_file(const f_string_static_t file, const f_string_static_t source, const f_string_static_t destination, const f_mode_t mode, const fl_directory_recurse_t recurse) f_attribute_visibility_internal; #endif // !defined(_di_fl_directory_copy_file_) /** @@ -171,7 +171,7 @@ extern "C" { * @see fl_directory_list() */ #if !defined(_di_fl_directory_list_) - extern f_status_t private_fl_directory_list(const f_string_t path, int (*filter)(const struct dirent *), int (*sort)(const struct dirent **, const struct dirent **), const bool dereference, f_directory_listing_t *listing) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_directory_list(const f_string_t path, int (*filter)(const struct dirent *), int (*sort)(const struct dirent **, const struct dirent **), const bool dereference, f_directory_listing_t *listing) f_attribute_visibility_internal; #endif // !defined(_di_fl_directory_list_) /** @@ -202,7 +202,7 @@ extern "C" { * @see fl_directory_path_push_dynamic() */ #if !defined(_di_fl_directory_path_push_) || !defined(_di_fl_directory_path_push_dynamic_) - extern f_status_t private_fl_directory_path_push(const f_string_t source, const f_array_length_t length, f_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_directory_path_push(const f_string_t source, const f_array_length_t length, f_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_fl_directory_path_push_) || !defined(_di_fl_directory_path_push_dynamic_) #ifdef __cplusplus diff --git a/level_1/fl_directory/data/build/settings b/level_1/fl_directory/data/build/settings index 3143201..edb1784 100644 --- a/level_1/fl_directory/data/build/settings +++ b/level_1/fl_directory/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_environment/data/build/settings b/level_1/fl_environment/data/build/settings index fab3997..01ee216 100644 --- a/level_1/fl_environment/data/build/settings +++ b/level_1/fl_environment/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_execute/data/build/settings b/level_1/fl_execute/data/build/settings index 52d5344..77f56a2 100644 --- a/level_1/fl_execute/data/build/settings +++ b/level_1/fl_execute/data/build/settings @@ -49,7 +49,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_fss/c/private-fss.c b/level_1/fl_fss/c/private-fss.c index d490b6b..9b9b93a 100644 --- a/level_1/fl_fss/c/private-fss.c +++ b/level_1/fl_fss/c/private-fss.c @@ -232,7 +232,7 @@ extern "C" { } // handle quoted support. - int8_t quote_found = 0; + char quote_found = 0; if (quote) { *quote = 0; diff --git a/level_1/fl_fss/c/private-fss.h b/level_1/fl_fss/c/private-fss.h index dd8e7d4..2e80fe9 100644 --- a/level_1/fl_fss/c/private-fss.h +++ b/level_1/fl_fss/c/private-fss.h @@ -35,7 +35,7 @@ extern "C" { * @see fl_fss_extended_object_write_string() */ #if !defined(_di_fl_fss_basic_object_write_string_) || !defined(_di_fl_fss_extended_object_write_string_) - extern f_status_t private_fl_fss_basic_write_object_trim(const f_fss_quote_t quote, const f_array_length_t used_start, f_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_fss_basic_write_object_trim(const f_fss_quote_t quote, const f_array_length_t used_start, f_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_fl_fss_basic_object_write_string_) || !defined(_di_fl_fss_extended_object_write_string_) /** @@ -59,7 +59,7 @@ extern "C" { * @see f_string_dynamic_increase() */ #if !defined(_di_fl_fss_basic_list_content_write_string_) || !defined(_di_fl_fss_extended_list_content_write_string_) || !defined(_di_fl_fss_embedded_list_content_write_string_) - extern f_status_t private_fl_fss_basic_list_write_add_until_end(const f_string_static_t buffer, f_string_range_t *range, f_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_fss_basic_list_write_add_until_end(const f_string_static_t buffer, f_string_range_t *range, f_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_fl_fss_basic_list_content_write_string_) || !defined(_di_fl_fss_extended_list_content_write_string_) || !defined(_di_fl_fss_embedded_list_content_write_string_) /** @@ -79,7 +79,7 @@ extern "C" { * @see fl_fss_extended_list_object_write_string() */ #if !defined(_di_fl_fss_basic_list_object_write_string_) || !defined(_di_fl_fss_extended_list_object_write_string_) - extern f_status_t private_fl_fss_basic_list_write_object_trim(const f_array_length_t used_start, f_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_fss_basic_list_write_object_trim(const f_array_length_t used_start, f_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(_di_fl_fss_basic_list_object_write_string_) || !defined(_di_fl_fss_extended_list_object_write_string_) /** @@ -138,7 +138,7 @@ extern "C" { * @see fl_fss_extended_content_read() */ #if !defined(_di_fl_fss_basic_object_read_) || !defined(_di_fl_fss_extended_object_read_) || !defined(_di_fl_fss_extended_content_read_) - extern f_status_t private_fl_fss_basic_read(const f_string_static_t buffer, const bool object_as, f_string_range_t *range, f_fss_object_t *found, f_fss_quote_t *quoted, f_fss_delimits_t *delimits) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_fss_basic_read(const f_string_static_t buffer, const bool object_as, f_string_range_t *range, f_fss_object_t *found, f_fss_quote_t *quoted, f_fss_delimits_t *delimits) f_attribute_visibility_internal; #endif // !defined(_di_fl_fss_basic_object_read_) || !defined(_di_fl_fss_extended_object_read_) || !defined(_di_fl_fss_extended_content_read_) /** @@ -184,7 +184,7 @@ extern "C" { * @see fl_fss_extended_content_write_string() */ #if !defined(fl_fss_basic_object_write_string) || !defined(fl_fss_extended_object_write_string) || !defined(_di_fl_fss_extended_content_write_string_) - extern f_status_t private_fl_fss_basic_write(const bool object_as, const f_string_static_t object, const f_fss_quote_t quoted, f_string_range_t *range, f_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_fss_basic_write(const bool object_as, const f_string_static_t object, const f_fss_quote_t quoted, f_string_range_t *range, f_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // !defined(fl_fss_basic_object_write_string) || !defined(fl_fss_extended_object_write_string) || !defined(_di_fl_fss_extended_content_write_string_) #ifdef __cplusplus diff --git a/level_1/fl_fss/data/build/settings b/level_1/fl_fss/data/build/settings index ddd8e3d..998414c 100644 --- a/level_1/fl_fss/data/build/settings +++ b/level_1/fl_fss/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_iki/data/build/settings b/level_1/fl_iki/data/build/settings index 0055266..e181fe2 100644 --- a/level_1/fl_iki/data/build/settings +++ b/level_1/fl_iki/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_print/c/private-print.h b/level_1/fl_print/c/private-print.h index d5c7a4b..c2fe58f 100644 --- a/level_1/fl_print/c/private-print.h +++ b/level_1/fl_print/c/private-print.h @@ -47,7 +47,7 @@ extern "C" { * @see fl_print_trim_except_dynamic_partial() */ #if !defined(_di_fl_print_trim_except_) || !defined(_di_fl_print_trim_except_dynamic_) || !defined(_di_fl_print_trim_except_dynamic_partial_) - extern f_status_t private_fl_print_trim_except(FILE *output, const f_string_t string, const f_array_length_t start, const f_array_length_t stop, const f_array_lengths_t except) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_print_trim_except(FILE *output, const f_string_t string, const f_array_length_t start, const f_array_length_t stop, const f_array_lengths_t except) f_attribute_visibility_internal; #endif // !defined(_di_fl_print_trim_except_) || !defined(_di_fl_print_trim_except_dynamic_) || !defined(_di_fl_print_trim_except_dynamic_partial_) /** @@ -82,7 +82,7 @@ extern "C" { * @see fl_print_trim_except_utf_dynamic_partial() */ #if !defined(_di_fl_print_trim_except_utf_) || !defined(_di_fl_print_trim_except_utf_dynamic_) || !defined(_di_fl_print_trim_except_utf_dynamic_partial_) - extern f_status_t private_fl_print_trim_except_utf(FILE *output, const f_utf_string_t string, const f_array_length_t start, const f_array_length_t stop, const f_array_lengths_t except) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_print_trim_except_utf(FILE *output, const f_utf_string_t string, const f_array_length_t start, const f_array_length_t stop, const f_array_lengths_t except) f_attribute_visibility_internal; #endif // !defined(_di_fl_print_trim_except_utf_) || !defined(_di_fl_print_trim_except_utf_dynamic_) || !defined(_di_fl_print_trim_except_utf_dynamic_partial_) /** @@ -112,7 +112,7 @@ extern "C" { * @see fl_print_trim_dynamic_partial() */ #if !defined(_di_fl_print_trim_) || !defined(_di_fl_print_trim_dynamic_) || !defined(_di_fl_print_trim_dynamic_partial_) - extern f_status_t private_fl_print_trim(FILE *output, const f_string_t string, const f_array_length_t length) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_print_trim(FILE *output, const f_string_t string, const f_array_length_t length) f_attribute_visibility_internal; #endif // !defined(_di_fl_print_trim_) || !defined(_di_fl_print_trim_dynamic_) || !defined(_di_fl_print_trim_dynamic_partial_) /** @@ -142,7 +142,7 @@ extern "C" { * @see fl_print_trim_utf_dynamic_partial() */ #if !defined(_di_fl_print_trim_utf_) || !defined(_di_fl_print_trim_utf_dynamic_) || !defined(_di_fl_print_trim_utf_dynamic_partial_) - extern f_status_t private_fl_print_trim_utf(FILE *output, const f_utf_string_t string, const f_array_length_t length) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_print_trim_utf(FILE *output, const f_utf_string_t string, const f_array_length_t length) f_attribute_visibility_internal; #endif // !defined(_di_fl_print_trim_utf_) || !defined(_di_fl_print_trim_utf_dynamic_) || !defined(_di_fl_print_trim_utf_dynamic_partial_) #ifdef __cplusplus diff --git a/level_1/fl_print/data/build/settings b/level_1/fl_print/data/build/settings index c6ae59e..fdd5e5c 100644 --- a/level_1/fl_print/data/build/settings +++ b/level_1/fl_print/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_status/data/build/settings b/level_1/fl_status/data/build/settings index 0076846..9b590be 100644 --- a/level_1/fl_status/data/build/settings +++ b/level_1/fl_status/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_string/c/private-string.h b/level_1/fl_string/c/private-string.h index 9fa2af5..c215f5a 100644 --- a/level_1/fl_string/c/private-string.h +++ b/level_1/fl_string/c/private-string.h @@ -42,7 +42,7 @@ extern "C" { * @see fl_string_dynamic_partial_compare() */ #if !defined(_di_fl_string_compare_) || !defined(_di_fl_string_dynamic_compare_) || !defined(_di_fl_string_dynamic_partial_compare_) - extern f_status_t private_fl_string_compare(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_string_compare(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) f_attribute_visibility_internal; #endif // !defined(_di_fl_string_compare_) || !defined(_di_fl_string_dynamic_compare_) || !defined(_di_fl_string_dynamic_partial_compare_) /** @@ -78,7 +78,7 @@ extern "C" { * @see fl_string_dynamic_partial_compare_except() */ #if !defined(_di_fl_string_compare_except_) || !defined(_di_fl_string_dynamic_compare_except_) || !defined(_di_fl_string_dynamic_partial_compare_except_) - extern f_status_t private_fl_string_compare_except(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2, const f_array_lengths_t except1, const f_array_lengths_t except2) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_string_compare_except(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2, const f_array_lengths_t except1, const f_array_lengths_t except2) f_attribute_visibility_internal; #endif // !defined(_di_fl_string_compare_except_) || !defined(_di_fl_string_dynamic_compare_except_) || !defined(_di_fl_string_dynamic_partial_compare_except_) /** @@ -118,7 +118,7 @@ extern "C" { * @see fl_string_dynamic_partial_compare_except_trim() */ #if !defined(_di_fl_string_compare_except_trim_) || !defined(_di_fl_string_dynamic_compare_except_trim_) || !defined(_di_fl_string_dynamic_partial_compare_except_trim_) - extern f_status_t private_fl_string_compare_except_trim(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2, const f_array_lengths_t except1, const f_array_lengths_t except2) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_string_compare_except_trim(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2, const f_array_lengths_t except1, const f_array_lengths_t except2) f_attribute_visibility_internal; #endif // !defined(_di_fl_string_compare_except_trim_) || !defined(_di_fl_string_dynamic_compare_except_trim_) || !defined(_di_fl_string_dynamic_partial_compare_except_trim_) /** @@ -152,7 +152,7 @@ extern "C" { * @see fl_string_dynamic_partial_compare_trim() */ #if !defined(_di_fl_string_compare_trim_) || !defined(_di_fl_string_dynamic_compare_trim_) || !defined(_di_fl_string_dynamic_partial_compare_trim_) - extern f_status_t private_fl_string_compare_trim(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_string_compare_trim(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) f_attribute_visibility_internal; #endif // !defined(_di_fl_string_compare_trim_) || !defined(_di_fl_string_dynamic_compare_trim_) || !defined(_di_fl_string_dynamic_partial_compare_trim_) /** @@ -183,7 +183,7 @@ extern "C" { * @see fl_string_dynamic_rip_nulless() */ #if !defined(_di_fl_string_rip_) || !defined(_di_fl_string_dynamic_rip_) || !defined(_di_fl_string_rip_nulless_) || !defined(_di_fl_string_dynamic_rip_nulless_) - extern f_status_t private_fl_string_rip_find_range(const f_string_t source, f_array_length_t *start, f_array_length_t *stop) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_string_rip_find_range(const f_string_t source, f_array_length_t *start, f_array_length_t *stop) f_attribute_visibility_internal; #endif // !defined(_di_fl_string_rip_) || !defined(_di_fl_string_dynamic_rip_) || !defined(_di_fl_string_rip_nulless_) || !defined(_di_fl_string_dynamic_rip_nulless_) #ifdef __cplusplus diff --git a/level_1/fl_string/c/string.c b/level_1/fl_string/c/string.c index c30ee47..fc0471e 100644 --- a/level_1/fl_string/c/string.c +++ b/level_1/fl_string/c/string.c @@ -310,7 +310,7 @@ extern "C" { #endif // _di_fl_string_dynamic_seek_line_to_utf_character_ #ifndef _di_fl_string_dynamic_seek_line_until_graph_ - f_status_t fl_string_dynamic_seek_line_until_graph(const f_string_t string, const int8_t placeholder, f_string_range_t *range) { + f_status_t fl_string_dynamic_seek_line_until_graph(const f_string_t string, const uint8_t placeholder, f_string_range_t *range) { #ifndef _di_level_1_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_1_parameter_checking_ @@ -355,7 +355,7 @@ extern "C" { #endif // _di_fl_string_dynamic_seek_line_until_graph_ #ifndef _di_fl_string_dynamic_seek_line_until_graph_non_ - f_status_t fl_string_dynamic_seek_line_until_graph_non(const f_string_t string, const int8_t placeholder, f_string_range_t *range) { + f_status_t fl_string_dynamic_seek_line_until_graph_non(const f_string_t string, const uint8_t placeholder, f_string_range_t *range) { #ifndef _di_level_1_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_1_parameter_checking_ @@ -543,7 +543,7 @@ extern "C" { #endif // _di_fl_string_seek_line_to_utf_character_ #ifndef _di_fl_string_seek_line_until_graph_ - f_status_t fl_string_seek_line_until_graph(const f_string_t string, const int8_t placeholder, f_string_range_t *range) { + f_status_t fl_string_seek_line_until_graph(const f_string_t string, const uint8_t placeholder, f_string_range_t *range) { #ifndef _di_level_1_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_1_parameter_checking_ @@ -586,7 +586,7 @@ extern "C" { #endif // _di_fl_string_seek_line_until_graph_ #ifndef _di_fl_string_seek_line_until_graph_non_ - f_status_t fl_string_seek_line_until_graph_non(const f_string_t string, const int8_t placeholder, f_string_range_t *range) { + f_status_t fl_string_seek_line_until_graph_non(const f_string_t string, const uint8_t placeholder, f_string_range_t *range) { #ifndef _di_level_1_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_1_parameter_checking_ diff --git a/level_1/fl_string/c/string.h b/level_1/fl_string/c/string.h index c8484d3..ab6f1d3 100644 --- a/level_1/fl_string/c/string.h +++ b/level_1/fl_string/c/string.h @@ -828,7 +828,7 @@ extern "C" { * @see f_utf_is_graph() */ #ifndef _di_fl_string_dynamic_seek_line_until_graph_ - extern f_status_t fl_string_dynamic_seek_line_until_graph(const f_string_t string, const int8_t placeholder, f_string_range_t *range); + extern f_status_t fl_string_dynamic_seek_line_until_graph(const f_string_t string, const uint8_t placeholder, f_string_range_t *range); #endif // _di_fl_string_dynamic_seek_line_until_graph_ /** @@ -857,7 +857,7 @@ extern "C" { * @see f_utf_is_graph() */ #ifndef _di_fl_string_dynamic_seek_line_until_graph_non_ - extern f_status_t fl_string_dynamic_seek_line_until_graph_non(const f_string_t string, const int8_t placeholder, f_string_range_t *range); + extern f_status_t fl_string_dynamic_seek_line_until_graph_non(const f_string_t string, const uint8_t placeholder, f_string_range_t *range); #endif // _di_fl_string_dynamic_seek_line_until_graph_non_ /** @@ -1000,7 +1000,7 @@ extern "C" { * @see f_utf_is_graph() */ #ifndef _di_fl_string_seek_line_until_graph_ - extern f_status_t fl_string_seek_line_until_graph(const f_string_t string, const int8_t placeholder, f_string_range_t *range); + extern f_status_t fl_string_seek_line_until_graph(const f_string_t string, const uint8_t placeholder, f_string_range_t *range); #endif // _di_fl_string_seek_line_until_graph_ /** @@ -1029,7 +1029,7 @@ extern "C" { * @see f_utf_is_whitespace() */ #ifndef _di_fl_string_seek_line_until_graph_non_ - extern f_status_t fl_string_seek_line_until_graph_non(const f_string_t string, const int8_t placeholder, f_string_range_t *range); + extern f_status_t fl_string_seek_line_until_graph_non(const f_string_t string, const uint8_t placeholder, f_string_range_t *range); #endif // _di_fl_string_seek_line_until_graph_non_ /** diff --git a/level_1/fl_string/data/build/settings b/level_1/fl_string/data/build/settings index 0d86181..bd3e879 100644 --- a/level_1/fl_string/data/build/settings +++ b/level_1/fl_string/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_utf/c/private-utf.h b/level_1/fl_utf/c/private-utf.h index fd386b6..316f717 100644 --- a/level_1/fl_utf/c/private-utf.h +++ b/level_1/fl_utf/c/private-utf.h @@ -43,7 +43,7 @@ extern "C" { * @see fl_utf_string_dynamic_partial_compare() */ #if !defined(_di_fl_utfl_string_compare_) || !defined(_di_fl_utfl_string_dynamic_compare_) || !defined(_di_fl_utfl_string_dynamic_partial_compare_) - extern f_status_t private_fl_utf_string_compare(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_utf_string_compare(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) f_attribute_visibility_internal; #endif // !defined(_di_fl_utfl_string_compare_) || !defined(_di_fl_utfl_string_dynamic_compare_) || !defined(_di_fl_utfl_string_dynamic_partial_compare_) /** @@ -74,7 +74,7 @@ extern "C" { * @see fl_utf_string_dynamic_partial_compare_trim() */ #if !defined(_di_fl_utf_string_compare_trim_) || !defined(_di_fl_utf_string_dynamic_compare_trim_) || !defined(_di_fl_utf_string_dynamic_partial_compare_trim_) - extern f_status_t private_fl_utf_string_compare_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_utf_string_compare_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) f_attribute_visibility_internal; #endif // !defined(_di_fl_utf_string_compare_trim_) || !defined(_di_fl_utf_string_dynamic_compare_trim_) || !defined(_di_fl_utf_string_dynamic_partial_compare_trim_) /** @@ -101,7 +101,7 @@ extern "C" { * @see fl_utf_string_rip() */ #if !defined(_di_fl_utf_string_rip_) || !defined(_di_fl_utf_string_dynamic_rip_) || !defined(_di_fl_utf_string_rip_nulless_) || !defined(_di_fl_utf_string_dynamic_rip_nulless_) - extern f_status_t private_fl_utf_string_rip_find_range(const f_utf_string_t source, f_array_length_t *start, f_array_length_t *stop) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_utf_string_rip_find_range(const f_utf_string_t source, f_array_length_t *start, f_array_length_t *stop) f_attribute_visibility_internal; #endif // !defined(_di_fl_utf_string_rip_) || !defined(_di_fl_utf_string_dynamic_rip_) || !defined(_di_fl_utf_string_rip_nulless_) || !defined(_di_fl_utf_string_dynamic_rip_nulless_) #ifdef __cplusplus diff --git a/level_1/fl_utf/c/utf.c b/level_1/fl_utf/c/utf.c index ea2b4a3..34f2dba 100644 --- a/level_1/fl_utf/c/utf.c +++ b/level_1/fl_utf/c/utf.c @@ -82,7 +82,7 @@ extern "C" { #endif // _di_fl_utf_string_dynamic_rip_nulless_ #ifndef _di_fl_utf_string_dynamic_seek_line_to_char_ - f_status_t fl_utf_string_dynamic_seek_line_to_char(const f_utf_string_static_t buffer, f_utf_string_range_t *range, const int8_t seek_to_this) { + f_status_t fl_utf_string_dynamic_seek_line_to_char(const f_utf_string_static_t buffer, f_utf_string_range_t *range, const char seek_to_this) { #ifndef _di_level_1_parameter_checking_ if (!range) return F_status_set_error(F_parameter); if (buffer.used <= range->start) return F_status_set_error(F_parameter); @@ -192,7 +192,7 @@ extern "C" { #endif // _di_fl_utf_string_dynamic_seek_line_until_graph_non_ #ifndef _di_fl_utf_string_dynamic_seek_to_char_ - f_status_t fl_utf_string_dynamic_seek_to_char(const f_utf_string_static_t buffer, f_utf_string_range_t *range, const int8_t seek_to_this) { + f_status_t fl_utf_string_dynamic_seek_to_char(const f_utf_string_static_t buffer, f_utf_string_range_t *range, const char seek_to_this) { #ifndef _di_level_1_parameter_checking_ if (!range) return F_status_set_error(F_parameter); if (buffer.used <= range->start) return F_status_set_error(F_parameter); @@ -263,7 +263,7 @@ extern "C" { #endif // _di_fl_utf_string_rip_nulless_ #ifndef _di_fl_utf_string_seek_line_to_char_ - f_status_t fl_utf_string_seek_line_to_char(const f_utf_string_t string, f_utf_string_range_t *range, const int8_t seek_to_this) { + f_status_t fl_utf_string_seek_line_to_char(const f_utf_string_t string, f_utf_string_range_t *range, const char seek_to_this) { #ifndef _di_level_1_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_1_parameter_checking_ @@ -353,7 +353,7 @@ extern "C" { #endif // _di_fl_utf_string_seek_line_until_graph_non_ #ifndef _di_fl_utf_string_seek_to_char_ - f_status_t fl_utf_string_seek_to_char(const f_utf_string_t string, f_utf_string_range_t *range, const int8_t seek_to_this) { + f_status_t fl_utf_string_seek_to_char(const f_utf_string_t string, f_utf_string_range_t *range, const char seek_to_this) { #ifndef _di_level_1_parameter_checking_ if (!range) return F_status_set_error(F_parameter); #endif // _di_level_1_parameter_checking_ diff --git a/level_1/fl_utf/c/utf.h b/level_1/fl_utf/c/utf.h index 1adc550..1cd7443 100644 --- a/level_1/fl_utf/c/utf.h +++ b/level_1/fl_utf/c/utf.h @@ -259,7 +259,7 @@ extern "C" { * F_utf (with error bit) if a character in the buffer is an invalid UTF-8 character. */ #ifndef _di_fl_utf_string_dynamic_seek_line_to_char_ - extern f_status_t fl_utf_string_dynamic_seek_line_to_char(const f_utf_string_static_t buffer, f_utf_string_range_t *range, const int8_t seek_to_this); + extern f_status_t fl_utf_string_dynamic_seek_line_to_char(const f_utf_string_static_t buffer, f_utf_string_range_t *range, const char seek_to_this); #endif // _di_fl_utf_string_dynamic_seek_line_to_char_ /** @@ -338,7 +338,7 @@ extern "C" { * F_parameter (with error bit) if a parameter is invalid. */ #ifndef _di_fl_utf_string_dynamic_seek_to_char_ - extern f_status_t fl_utf_string_dynamic_seek_to_char(const f_utf_string_static_t buffer, f_utf_string_range_t *range, const int8_t seek_to_this); + extern f_status_t fl_utf_string_dynamic_seek_to_char(const f_utf_string_static_t buffer, f_utf_string_range_t *range, const char seek_to_this); #endif // _di_fl_utf_string_dynamic_seek_to_char_ /** @@ -417,7 +417,7 @@ extern "C" { * F_utf (with error bit) if a character in the buffer is an invalid UTF-8 character. */ #ifndef _di_fl_utf_string_seek_line_to_char_ - extern f_status_t fl_utf_string_seek_line_to_char(const f_utf_string_t string, f_utf_string_range_t *range, const int8_t seek_to_this); + extern f_status_t fl_utf_string_seek_line_to_char(const f_utf_string_t string, f_utf_string_range_t *range, const char seek_to_this); #endif // _di_fl_utf_string_seek_line_to_char_ /** @@ -499,7 +499,7 @@ extern "C" { * F_utf (with error bit) if a character in the buffer is an invalid UTF-8 character. */ #ifndef _di_fl_utf_string_seek_to_character_ - extern f_status_t fl_utf_string_seek_to_char(const f_utf_string_t string, f_utf_string_range_t *range, const int8_t seek_to_this); + extern f_status_t fl_utf_string_seek_to_char(const f_utf_string_t string, f_utf_string_range_t *range, const char seek_to_this); #endif // _di_fl_utf_string__seek_to_character_ #ifdef __cplusplus diff --git a/level_1/fl_utf/data/build/settings b/level_1/fl_utf/data/build/settings index d5d4314..ffe53b7 100644 --- a/level_1/fl_utf/data/build/settings +++ b/level_1/fl_utf/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_1/fl_utf_file/c/private-utf_file.c b/level_1/fl_utf_file/c/private-utf_file.c index c0a2ffb..f4fbb6a 100644 --- a/level_1/fl_utf_file/c/private-utf_file.c +++ b/level_1/fl_utf_file/c/private-utf_file.c @@ -6,7 +6,7 @@ extern "C" { #endif #if !defined(_di_fl_utf_file_read_) || !defined(_di_fl_utf_file_read_until_) || !defined(_di_fl_utf_file_read_range_) - void private_fl_utf_file_process_read_buffer(const char *buffer_read, const ssize_t size_read, f_utf_string_dynamic_t *buffer, char buffer_char[], uint8_t *width, int8_t *width_last) { + void private_fl_utf_file_process_read_buffer(const char *buffer_read, const ssize_t size_read, f_utf_string_dynamic_t *buffer, char buffer_char[], uint8_t *width, uint8_t *width_last) { f_utf_character_t character = 0; f_array_length_t i = 0; uint8_t increment_by = 0; diff --git a/level_1/fl_utf_file/c/private-utf_file.h b/level_1/fl_utf_file/c/private-utf_file.h index ef4cf07..c590694 100644 --- a/level_1/fl_utf_file/c/private-utf_file.h +++ b/level_1/fl_utf_file/c/private-utf_file.h @@ -39,7 +39,7 @@ extern "C" { * @see fl_utf_file_read_until() */ #if !defined(_di_fl_utf_file_read_) || !defined(_di_fl_utf_file_read_until_) || !defined(_di_fl_utf_file_read_range_) - void private_fl_utf_file_process_read_buffer(const char *buffer_read, const ssize_t size_read, f_utf_string_dynamic_t *buffer, char buffer_char[], uint8_t *width, int8_t *width_last) f_gcc_attribute_visibility_internal; + void private_fl_utf_file_process_read_buffer(const char *buffer_read, const ssize_t size_read, f_utf_string_dynamic_t *buffer, char buffer_char[], uint8_t *width, uint8_t *width_last) f_attribute_visibility_internal; #endif // !defined(_di_fl_utf_file_read_) || !defined(_di_fl_utf_file_read_until_) || !defined(_di_fl_utf_file_read_range_) /** @@ -77,7 +77,7 @@ extern "C" { * @see fl_utf_file_write_until() */ #if !defined(_di_fl_utf_file_write_) || !defined(_di_fl_utf_file_write_until_) || !defined(_di_fl_utf_file_write_range_) - extern f_status_t private_fl_utf_file_write_until(const f_file_t file, const f_utf_string_t string, const f_array_length_t total, f_array_length_t *written) f_gcc_attribute_visibility_internal; + extern f_status_t private_fl_utf_file_write_until(const f_file_t file, const f_utf_string_t string, const f_array_length_t total, f_array_length_t *written) f_attribute_visibility_internal; #endif // !defined(_di_fl_utf_file_write_) || !defined(_di_fl_utf_file_write_until_) || !defined(_di_fl_utf_file_write_range_) #ifdef __cplusplus diff --git a/level_1/fl_utf_file/data/build/settings b/level_1/fl_utf_file/data/build/settings index 40c2d05..a9ac17f 100644 --- a/level_1/fl_utf_file/data/build/settings +++ b/level_1/fl_utf_file/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_2/fll_control_group/data/build/settings b/level_2/fll_control_group/data/build/settings index bcf5390..3a55fe4 100644 --- a/level_2/fll_control_group/data/build/settings +++ b/level_2/fll_control_group/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_2/fll_error/c/error.c b/level_2/fll_error/c/error.c index 9143b91..1925bf4 100644 --- a/level_2/fll_error/c/error.c +++ b/level_2/fll_error/c/error.c @@ -165,7 +165,7 @@ extern "C" { } if (status == F_file_flush) { - fprintf(print.to.stream, "%s%sUnable to %s %s '", print.context.before->string, print.prefix, type_name); + fprintf(print.to.stream, "%s%sUnable to %s %s '", print.context.before->string, print.prefix, operation, type_name); fprintf(print.to.stream, "%s%s%s%s", print.context.after->string, print.notable.before->string, name, print.notable.after->string); fprintf(print.to.stream, "%s', flush failed.%s%c", print.context.before->string, print.context.after->string, f_string_eol_s[0]); diff --git a/level_2/fll_error/c/private-error.c b/level_2/fll_error/c/private-error.c index f35b734..4ca4dd4 100644 --- a/level_2/fll_error/c/private-error.c +++ b/level_2/fll_error/c/private-error.c @@ -129,7 +129,7 @@ extern "C" { if (print.verbosity != f_console_verbosity_quiet) { fprintf(print.to.stream, "%c", f_string_eol_s[0]); fprintf(print.to.stream, "%s%s(", print.context.before->string, print.prefix); - fprintf(print.to.stream, "%s%s%llu%s", print.context.after->string, print.notable.before->string, status, print.notable.after->string); + fprintf(print.to.stream, "%s%s%hu%s", print.context.after->string, print.notable.before->string, status, print.notable.after->string); fprintf(print.to.stream, "%s)", print.context.before->string); private_fll_error_print_function(print, function); diff --git a/level_2/fll_error/c/private-error.h b/level_2/fll_error/c/private-error.h index 91f588e..570999d 100644 --- a/level_2/fll_error/c/private-error.h +++ b/level_2/fll_error/c/private-error.h @@ -39,7 +39,7 @@ extern "C" { * @see fll_error_file_print() */ #if !defined(_di_fll_error_print_) || !defined(_di_fll_error_file_print_) || !defined(_di_fll_error_number_print_) - extern f_status_t private_fll_error_print(const fll_error_print_t print, const f_status_t status, const f_string_t function, const bool fallback) f_gcc_attribute_visibility_internal; + extern f_status_t private_fll_error_print(const fll_error_print_t print, const f_status_t status, const f_string_t function, const bool fallback) f_attribute_visibility_internal; #endif // !defined(_di_fll_error_print_) || !defined(_di_fll_error_file_print_) || !defined(_di_fll_error_number_print_) /** @@ -61,7 +61,7 @@ extern "C" { * @see fll_error_file_print() */ #if !defined(_di_fll_error_print_) || !defined(_di_fll_error_file_print_) || !defined(_di_fll_error_number_print_) - void private_fll_error_print_function(const fll_error_print_t print, const f_string_t function) f_gcc_attribute_visibility_internal; + void private_fll_error_print_function(const fll_error_print_t print, const f_string_t function) f_attribute_visibility_internal; #endif // !defined(_di_fll_error_print_) || !defined(_di_fll_error_file_print_) || !defined(_di_fll_error_number_print_) #ifdef __cplusplus diff --git a/level_2/fll_error/data/build/settings b/level_2/fll_error/data/build/settings index e90ce46..ba60ecd 100644 --- a/level_2/fll_error/data/build/settings +++ b/level_2/fll_error/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_2/fll_execute/c/private-execute.c b/level_2/fll_execute/c/private-execute.c index 8b65b2e..9cfe844 100644 --- a/level_2/fll_execute/c/private-execute.c +++ b/level_2/fll_execute/c/private-execute.c @@ -146,7 +146,7 @@ extern "C" { } if (as.id_groups) { - if (setgroups(as.id_groups->used, as.id_groups->array) == -1) { + if (setgroups(as.id_groups->used, (const gid_t *) as.id_groups->array) == -1) { *result = -1; if (parameter && parameter->option & fl_execute_parameter_option_exit) { diff --git a/level_2/fll_execute/c/private-execute.h b/level_2/fll_execute/c/private-execute.h index 09230ed..8e79301 100644 --- a/level_2/fll_execute/c/private-execute.h +++ b/level_2/fll_execute/c/private-execute.h @@ -45,7 +45,7 @@ extern "C" { * @see fll_execute_arguments_dynamic_add_set() */ #if !defined(_di_fll_execute_arguments_add_) || !defined(_di_fll_execute_arguments_add_set_) || !defined(_di_fll_execute_arguments_dynamic_add_) || !defined(_di_fll_execute_arguments_dynamic_add_set_) - extern f_status_t private_fll_execute_arguments_add(const f_string_t source, const f_array_length_t length, f_string_dynamics_t *arguments) f_gcc_attribute_visibility_internal; + extern f_status_t private_fll_execute_arguments_add(const f_string_t source, const f_array_length_t length, f_string_dynamics_t *arguments) f_attribute_visibility_internal; #endif // !defined(_di_fll_execute_arguments_add_) || !defined(_di_fll_execute_arguments_add_set_) || !defined(_di_fll_execute_arguments_dynamic_add_) || !defined(_di_fll_execute_arguments_dynamic_add_set_) /** @@ -86,7 +86,7 @@ extern "C" { * @see fll_execute_arguments_dynamic_add_parameter_set() */ #if !defined(_di_fll_execute_arguments_add_parameter_) || !defined(_di_fll_execute_arguments_add_parameter_set_) || !defined(_di_fll_execute_arguments_dynamic_add_parameter_) || !defined(_di_fll_execute_arguments_dynamic_add_parameter_set_) - extern f_status_t private_fll_execute_arguments_add_parameter(const f_string_t prefix, const f_array_length_t prefix_length, const f_string_t name, const f_array_length_t name_length, const f_string_t value, const f_array_length_t value_length, f_string_dynamics_t *arguments) f_gcc_attribute_visibility_internal; + extern f_status_t private_fll_execute_arguments_add_parameter(const f_string_t prefix, const f_array_length_t prefix_length, const f_string_t name, const f_array_length_t name_length, const f_string_t value, const f_array_length_t value_length, f_string_dynamics_t *arguments) f_attribute_visibility_internal; #endif // !defined(_di_fll_execute_arguments_add_parameter_) || !defined(_di_fll_execute_arguments_add_parameter_set_) || !defined(_di_fll_execute_arguments_dynamic_add_parameter_) || !defined(_di_fll_execute_arguments_dynamic_add_parameter_set_) /** @@ -125,7 +125,7 @@ extern "C" { * @see fll_execute_program() */ #if !defined(_di_fll_execute_program_) - extern f_status_t private_fll_execute_as_child(const fl_execute_as_t as, fl_execute_parameter_t * const parameter, int *result) f_gcc_attribute_visibility_internal; + extern f_status_t private_fll_execute_as_child(const fl_execute_as_t as, fl_execute_parameter_t * const parameter, int *result) f_attribute_visibility_internal; #endif // !defined(_di_fll_execute_program_) /** @@ -167,7 +167,7 @@ extern "C" { * @see fll_execute_program() */ #if !defined(_di_fll_execute_program_) - extern f_status_t private_fll_execute_as_parent(const fl_execute_as_t as, const pid_t id_child, fl_execute_parameter_t * const parameter, char *result) f_gcc_attribute_visibility_internal; + extern f_status_t private_fll_execute_as_parent(const fl_execute_as_t as, const pid_t id_child, fl_execute_parameter_t * const parameter, char *result) f_attribute_visibility_internal; #endif // !defined(_di_fll_execute_program_) /** @@ -243,7 +243,7 @@ extern "C" { * @see fll_execute_program() */ #if !defined(_di_fll_execute_program_) - extern f_status_t private_fll_execute_fork(const bool direct, const f_string_t program, const f_string_t fixed_arguments[], fl_execute_parameter_t * const parameter, fl_execute_as_t * const as, void *result) f_gcc_attribute_visibility_internal; + extern f_status_t private_fll_execute_fork(const bool direct, const f_string_t program, const f_string_t fixed_arguments[], fl_execute_parameter_t * const parameter, fl_execute_as_t * const as, void *result) f_attribute_visibility_internal; #endif // !defined(_di_fll_execute_program_) /** @@ -318,7 +318,7 @@ extern "C" { * @see fll_execute_program() */ #if !defined(_di_fll_execute_program_) - extern f_status_t private_fll_execute_fork_data(const bool direct, const f_string_t program, const f_string_t fixed_arguments[], fl_execute_parameter_t * const parameter, fl_execute_as_t * const as, void *result) f_gcc_attribute_visibility_internal; + extern f_status_t private_fll_execute_fork_data(const bool direct, const f_string_t program, const f_string_t fixed_arguments[], fl_execute_parameter_t * const parameter, fl_execute_as_t * const as, void *result) f_attribute_visibility_internal; #endif // !defined(_di_fll_execute_program_) /** @@ -347,7 +347,7 @@ extern "C" { * @see fll_execute_program() */ #if !defined(_di_fll_execute_program_) - extern void private_fll_execute_path_arguments_fixate(const f_string_t program_path, const f_string_statics_t arguments, const f_string_t last_slash, const bool fixated_is, const f_array_length_t name_size, char program_name[], f_string_t fixed_arguments[]) f_gcc_attribute_visibility_internal; + extern void private_fll_execute_path_arguments_fixate(const f_string_t program_path, const f_string_statics_t arguments, const f_string_t last_slash, const bool fixated_is, const f_array_length_t name_size, char program_name[], f_string_t fixed_arguments[]) f_attribute_visibility_internal; #endif // !defined(_di_fll_execute_program_) #ifdef __cplusplus diff --git a/level_2/fll_execute/data/build/settings b/level_2/fll_execute/data/build/settings index a82c0e9..9135e23 100644 --- a/level_2/fll_execute/data/build/settings +++ b/level_2/fll_execute/data/build/settings @@ -51,7 +51,7 @@ defines_all-individual_threadless -D_di_pthread_support_ defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_all-individual -pthread flags_shared flags_static diff --git a/level_2/fll_file/c/private-file.h b/level_2/fll_file/c/private-file.h index 972827a..f68784d 100644 --- a/level_2/fll_file/c/private-file.h +++ b/level_2/fll_file/c/private-file.h @@ -45,7 +45,7 @@ extern "C" { * F_failure (with error bit) for any other error. */ #if !defined(_di_fll_file_mode_set_all_) - extern f_status_t private_fll_file_mode_set_all(const f_string_t path, const mode_t mode, const f_number_unsigned_t depth_max, const f_number_unsigned_t depth) f_gcc_attribute_visibility_internal; + extern f_status_t private_fll_file_mode_set_all(const f_string_t path, const mode_t mode, const f_number_unsigned_t depth_max, const f_number_unsigned_t depth) f_attribute_visibility_internal; #endif // !defined(_di_fll_file_mode_set_all_) /** @@ -84,7 +84,7 @@ extern "C" { * F_failure (with error bit) for any other error. */ #if !defined(_di_fll_file_role_change_all_) - extern f_status_t private_fll_file_role_change_all(const f_string_t path, const uid_t uid, const gid_t gid, const bool dereference, const f_number_unsigned_t depth_max, const f_number_unsigned_t depth) f_gcc_attribute_visibility_internal; + extern f_status_t private_fll_file_role_change_all(const f_string_t path, const uid_t uid, const gid_t gid, const bool dereference, const f_number_unsigned_t depth_max, const f_number_unsigned_t depth) f_attribute_visibility_internal; #endif // !defined(_di_fll_file_role_change_all_) #ifdef __cplusplus diff --git a/level_2/fll_file/data/build/settings b/level_2/fll_file/data/build/settings index e88cc62..25d5c97 100644 --- a/level_2/fll_file/data/build/settings +++ b/level_2/fll_file/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_2/fll_fss/c/private-fss.h b/level_2/fll_fss/c/private-fss.h index 8d67142..f429627 100644 --- a/level_2/fll_fss/c/private-fss.h +++ b/level_2/fll_fss/c/private-fss.h @@ -37,7 +37,7 @@ extern "C" { * @see fll_fss_identify_file() */ #if !defined(_di_fll_fss_identify_) || !defined(_di_fll_fss_identify_file_) - extern f_status_t private_fll_fss_identify(const f_string_static_t buffer, f_fss_header_t *header) f_gcc_attribute_visibility_internal; + extern f_status_t private_fll_fss_identify(const f_string_static_t buffer, f_fss_header_t *header) f_attribute_visibility_internal; #endif // !defined(_di_fll_fss_identify_) || !defined(_di_fll_fss_identify_file_) #ifdef __cplusplus diff --git a/level_2/fll_fss/data/build/settings b/level_2/fll_fss/data/build/settings index d3caba3..da258c5 100644 --- a/level_2/fll_fss/data/build/settings +++ b/level_2/fll_fss/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_2/fll_iki/c/private-iki.h b/level_2/fll_iki/c/private-iki.h index efe9359..78acca9 100644 --- a/level_2/fll_iki/c/private-iki.h +++ b/level_2/fll_iki/c/private-iki.h @@ -39,7 +39,7 @@ extern "C" { * Errors (with error bit) from: f_string_dynamic_increase_by(). */ #if !defined(_di_fll_iki_content_escape_) || !defined(_di_fll_iki_content_partial_escape_) - extern f_status_t private_fll_iki_content_partial_escape(const f_string_static_t content, const f_string_range_t range, const uint8_t quote, f_string_dynamic_t *escaped) f_gcc_attribute_visibility_internal; + extern f_status_t private_fll_iki_content_partial_escape(const f_string_static_t content, const f_string_range_t range, const uint8_t quote, f_string_dynamic_t *escaped) f_attribute_visibility_internal; #endif // !defined(_di_fll_iki_content_escape_) || !defined(_di_fll_iki_content_partial_escape_) /** @@ -67,7 +67,7 @@ extern "C" { * Errors (with error bit) from: f_string_dynamic_increase_by(). */ #if !defined(_di_fll_iki_content_escape_un_) || !defined(_di_fll_iki_content_partial_escape_un_) - extern f_status_t private_fll_iki_content_partial_escape_un(const f_string_static_t content, const f_string_range_t range, const uint8_t quote, f_string_dynamic_t *unescaped) f_gcc_attribute_visibility_internal; + extern f_status_t private_fll_iki_content_partial_escape_un(const f_string_static_t content, const f_string_range_t range, const uint8_t quote, f_string_dynamic_t *unescaped) f_attribute_visibility_internal; #endif // !defined(_di_fll_iki_content_escape_un_) || !defined(_di_fll_iki_content_partial_escape_un_) #ifdef __cplusplus diff --git a/level_2/fll_iki/data/build/settings b/level_2/fll_iki/data/build/settings index 8af3baf..c64451b 100644 --- a/level_2/fll_iki/data/build/settings +++ b/level_2/fll_iki/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_2/fll_path/data/build/settings b/level_2/fll_path/data/build/settings index 0142b7f..16e526e 100644 --- a/level_2/fll_path/data/build/settings +++ b/level_2/fll_path/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_2/fll_program/c/program.c b/level_2/fll_program/c/program.c index 55c9f75..e7e102e 100644 --- a/level_2/fll_program/c/program.c +++ b/level_2/fll_program/c/program.c @@ -68,14 +68,14 @@ extern "C" { fprintf(file.stream, "%c ", f_string_eol_s[0]); f_color_print(file.stream, context.set.standout, name); - fprintf(file.stream, f_string_space_s); + fprintf(file.stream, "%s", f_string_space_s); f_color_print(file.stream, context.set.notable, "["); fprintf(file.stream, " options "); f_color_print(file.stream, context.set.notable, "]"); if (parameters[0] != '\0') { - fprintf(file.stream, f_string_space_s); + fprintf(file.stream, "%s", f_string_space_s); f_color_print(file.stream, context.set.notable, "["); fprintf(file.stream, " %s ", parameters); diff --git a/level_2/fll_program/data/build/settings b/level_2/fll_program/data/build/settings index 235cc49..fee4c9e 100644 --- a/level_2/fll_program/data/build/settings +++ b/level_2/fll_program/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_2/fll_status/data/build/settings b/level_2/fll_status/data/build/settings index 53fc9bd..f1d6f62 100644 --- a/level_2/fll_status/data/build/settings +++ b/level_2/fll_status/data/build/settings @@ -48,7 +48,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/byte_dump/c/main.c b/level_3/byte_dump/c/main.c index 3d6d910..21355a1 100644 --- a/level_3/byte_dump/c/main.c +++ b/level_3/byte_dump/c/main.c @@ -1,6 +1,6 @@ #include "byte_dump.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; byte_dump_data_t data = byte_dump_data_t_initialize; diff --git a/level_3/byte_dump/c/private-byte_dump.c b/level_3/byte_dump/c/private-byte_dump.c index e0a417c..9115493 100644 --- a/level_3/byte_dump/c/private-byte_dump.c +++ b/level_3/byte_dump/c/private-byte_dump.c @@ -181,19 +181,19 @@ extern "C" { if (cell.column < data.width) { if (data.mode == byte_dump_mode_hexidecimal && cell.column % 8 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.mode == byte_dump_mode_duodecimal && cell.column % 6 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.mode == byte_dump_mode_octal && cell.column % 6 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.mode == byte_dump_mode_binary && cell.column % 4 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.mode == byte_dump_mode_decimal && cell.column % 6 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } } } // while @@ -235,7 +235,7 @@ extern "C" { #endif // _di_byte_dump_file_ #ifndef _di_byte_dump_print_character_fragment_ - bool byte_dump_print_character_fragment(const byte_dump_data_t data, const f_utf_string_static_t characters, const uint8_t invalid[], const int8_t width_utf, const int8_t byte_current, byte_dump_previous_t *previous, byte_dump_cell_t *cell, uint8_t *offset) { + bool byte_dump_print_character_fragment(const byte_dump_data_t data, const f_utf_string_static_t characters, const uint8_t invalid[], const uint8_t width_utf, const uint8_t byte_current, byte_dump_previous_t *previous, byte_dump_cell_t *cell, uint8_t *offset) { uint8_t byte = 0; bool reset = F_false; @@ -284,19 +284,19 @@ extern "C" { if (cell->column < data.width) { if (data.mode == byte_dump_mode_hexidecimal && cell->column % 8 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.mode == byte_dump_mode_duodecimal && cell->column % 6 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.mode == byte_dump_mode_octal && cell->column % 6 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.mode == byte_dump_mode_binary && cell->column % 4 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.mode == byte_dump_mode_decimal && cell->column % 6 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } } } @@ -314,7 +314,7 @@ extern "C" { } else if (data.mode == byte_dump_mode_duodecimal) { if (invalid[character_current]) { - fprintf(data.output.stream, "%s", data.context.error); + fprintf(data.output.stream, "%s", data.context.error.string); } fprintf(data.output.stream, " %01d", byte / 144); @@ -322,10 +322,10 @@ extern "C" { uint8_t current = (byte % 144) / 12; if (current == 11) { - fprintf(data.output.stream, f_string_ascii_b_s); + fprintf(data.output.stream, "%s", f_string_ascii_b_s); } else if (current == 10) { - fprintf(data.output.stream, f_string_ascii_a_s); + fprintf(data.output.stream, "%s", f_string_ascii_a_s); } else { fprintf(data.output.stream, "%01d", current); @@ -334,17 +334,17 @@ extern "C" { current = (byte % 144) % 12; if (current == 11) { - fprintf(data.output.stream, f_string_ascii_b_s); + fprintf(data.output.stream, "%s", f_string_ascii_b_s); } else if (current == 10) { - fprintf(data.output.stream, f_string_ascii_a_s); + fprintf(data.output.stream, "%s", f_string_ascii_a_s); } else { fprintf(data.output.stream, "%01d", current); } if (invalid[character_current]) { - fprintf(data.output.stream, "%s", data.context.reset); + fprintf(data.output.stream, "%s", data.context.reset.string); } } else if (data.mode == byte_dump_mode_octal) { @@ -356,7 +356,7 @@ extern "C" { } } else if (data.mode == byte_dump_mode_binary) { - int8_t binary_string[9] = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; + char binary_string[9] = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; binary_string[0] = ((byte >> 7) & 0x01) ? f_string_ascii_1_s[0] : f_string_ascii_0_s[0]; binary_string[1] = ((byte >> 6) & 0x01) ? f_string_ascii_1_s[0] : f_string_ascii_0_s[0]; @@ -415,19 +415,19 @@ extern "C" { } } else if (data.mode == byte_dump_mode_hexidecimal && cell->column % 8 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.mode == byte_dump_mode_duodecimal && cell->column % 6 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.mode == byte_dump_mode_octal && cell->column % 6 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.mode == byte_dump_mode_binary && cell->column % 4 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.mode == byte_dump_mode_decimal && cell->column % 6 == 0) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } return reset; @@ -446,7 +446,7 @@ extern "C" { if (*offset > 0) { if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) { while (*offset > 0 && j < data.width) { - fprintf(data.output.stream, f_string_ascii_period_s); + fprintf(data.output.stream, "%s", f_string_ascii_period_s); (*offset)--; j++; } // while @@ -482,7 +482,7 @@ extern "C" { f_color_print(data.output.stream, data.context.set.error, "%s", byte_dump_character_placeholder); } else if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) { - fprintf(data.output.stream, f_string_ascii_period_s); + fprintf(data.output.stream, "%s", f_string_ascii_period_s); } else { f_color_print(data.output.stream, data.context.set.warning, "%s", byte_dump_character_placeholder); @@ -491,7 +491,7 @@ extern "C" { } else { for (; j < previous->bytes && j < data.width; j++) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } // for } } @@ -619,15 +619,15 @@ extern "C" { } } else if (data.presentation == byte_dump_presentation_simple) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (data.presentation == byte_dump_presentation_classic) { - fprintf(data.output.stream, f_string_ascii_period_s); + fprintf(data.output.stream, "%s", f_string_ascii_period_s); } } else if (f_utf_character_is_whitespace(characters.string[i]) == F_true) { if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) { - fprintf(data.output.stream, f_string_ascii_period_s); + fprintf(data.output.stream, "%s", f_string_ascii_period_s); } else { f_color_print2(data.output.stream, data.context.set.notable, data.context.set.warning, "%s", byte_dump_sequence_space); @@ -635,13 +635,13 @@ extern "C" { } else if (f_utf_character_is_zero_width(characters.string[i]) == F_true) { if (data.presentation == byte_dump_presentation_classic) { - fprintf(data.output.stream, f_string_ascii_period_s); + fprintf(data.output.stream, "%s", f_string_ascii_period_s); } else if (data.parameters[byte_dump_parameter_placeholder].result == f_console_result_found) { f_color_print(data.output.stream, data.context.set.warning, "%s", byte_dump_character_placeholder); } else { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } } else if (f_utf_character_is_control(characters.string[i]) == F_true) { @@ -650,37 +650,37 @@ extern "C" { f_color_print(data.output.stream, data.context.set.warning, f_string_ascii_period_s); } else { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } } else if (width_utf == 2 && characters.string[i] == 0xd89d0000) { // U+061C - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 3 && characters.string[i] >= 0xefbfb000 && characters.string[i] <= 0xefbfbc00) { // Use space to represent Specials codes. // 0xefbfbd00 is excluded because it is printable (and is the "Replacement Character" code). - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 3 && characters.string[i] >= 0xe290a700 && characters.string[i] <= 0xe290bf00) { // Use space to represent Control Pictues codes that are not currently defined but are reserved. - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 3 && characters.string[i] >= 0xee808000 && characters.string[i] <= 0xefa3bf00) { // Use space to represent Private Use Area codes. - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 4 && characters.string[i] >= 0xf09c80a0 && characters.string[i] <= 0xf09c80bd) { // Use space to represent Vaiation Selectors Supplement codes. - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 4 && characters.string[i] >= 0xf3b08080 && characters.string[i] <= 0xf3bfbfbf) { // Use space to represent Supplemental Private Use Area-A codes. - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 4 && characters.string[i] >= 0xf4808080 && characters.string[i] <= 0xf48fbfbf) { // Use space to represent Supplemental Private Use Area-B codes. - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 1) { // print invalid placeholder for invalid UTF-8 widths. @@ -713,34 +713,34 @@ extern "C" { // print a space for combining characters to combine into, thereby allowing it to be safely and readably displayed. if (width_utf == 2 && characters.string[i] >= 0xdea60000 && characters.string[i] <= 0xdeb00000) { // Thana combining codes: U+07A6 to U+07B0. - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 2 && characters.string[i] >= 0xcc800000 && characters.string[i] <= 0xcdaf0000) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 3 && characters.string[i] >= 0xe1aab000 && characters.string[i] <= 0xe1abbf00) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 3 && characters.string[i] >= 0xe1b78000 && characters.string[i] <= 0xe1b7bf00) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 3 && characters.string[i] >= 0xe2839000 && characters.string[i] <= 0xe283bf00) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 2 && characters.string[i] >= 0xd8900000 && characters.string[i] <= 0xd89a0000) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 2 && characters.string[i] >= 0xd98b0000 && characters.string[i] <= 0xd99f0000) { // Arabic, U+064B to U+065F. - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 2 && characters.string[i] >= 0xdb960000 && characters.string[i] <= 0xdb9c0000) { // Arabic, U+06D6 to U+06DC. - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } else if (width_utf == 2 && characters.string[i] >= 0xd6910000 && characters.string[i] <= 0xd6bd0000) { // Hebrew, U+0591 to U+05BD. - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } } else { @@ -754,14 +754,14 @@ extern "C" { f_color_print(data.output.stream, data.context.set.error, "%s", byte_dump_character_placeholder); } else if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) { - fprintf(data.output.stream, f_string_ascii_period_s); + fprintf(data.output.stream, "%s", f_string_ascii_period_s); } else { f_color_print(data.output.stream, data.context.set.warning, "%s", byte_dump_character_placeholder); } } else { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } j++; @@ -772,14 +772,14 @@ extern "C" { f_color_print(data.output.stream, data.context.set.error, "%s", byte_dump_character_placeholder); } else if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) { - fprintf(data.output.stream, f_string_ascii_period_s); + fprintf(data.output.stream, "%s", f_string_ascii_period_s); } else { f_color_print(data.output.stream, data.context.set.warning, "%s", byte_dump_character_placeholder); } } else { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } j++; @@ -790,14 +790,14 @@ extern "C" { f_color_print(data.output.stream, data.context.set.error, "%s", byte_dump_character_placeholder); } else if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) { - fprintf(data.output.stream, f_string_ascii_period_s); + fprintf(data.output.stream, "%s", f_string_ascii_period_s); } else { f_color_print(data.output.stream, data.context.set.warning, "%s", byte_dump_character_placeholder); } } else { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } j++; @@ -814,7 +814,7 @@ extern "C" { f_color_print(data.output.stream, data.context.set.error, "%s", byte_dump_character_placeholder); } else if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) { - fprintf(data.output.stream, f_string_ascii_period_s); + fprintf(data.output.stream, "%s", f_string_ascii_period_s); } else { f_color_print(data.output.stream, data.context.set.warning, "%s", byte_dump_character_placeholder); @@ -823,7 +823,7 @@ extern "C" { } else { for (; j < data.width; j++) { - fprintf(data.output.stream, f_string_space_s); + fprintf(data.output.stream, "%s", f_string_space_s); } // for } diff --git a/level_3/byte_dump/c/private-byte_dump.h b/level_3/byte_dump/c/private-byte_dump.h index c69feab..f3cbd04 100644 --- a/level_3/byte_dump/c/private-byte_dump.h +++ b/level_3/byte_dump/c/private-byte_dump.h @@ -70,7 +70,7 @@ extern "C" { * F_failure (with error bit) on failure, usually when read() fails. */ #ifndef _di_byte_dump_file_ - extern f_status_t byte_dump_file(const byte_dump_data_t data, const f_string_t file_name, const f_file_t file) f_gcc_attribute_visibility_internal; + extern f_status_t byte_dump_file(const byte_dump_data_t data, const f_string_t file_name, const f_file_t file) f_attribute_visibility_internal; #endif // _di_byte_dump_file_ /** @@ -111,7 +111,7 @@ extern "C" { * @see byte_dump_print_text() */ #ifndef _di_byte_dump_print_character_fragment_ - extern bool byte_dump_print_character_fragment(const byte_dump_data_t data, const f_utf_string_static_t characters, const uint8_t invalid[], const int8_t width_utf, const int8_t byte_current, byte_dump_previous_t *previous, byte_dump_cell_t *cell, uint8_t *offset) f_gcc_attribute_visibility_internal; + extern bool byte_dump_print_character_fragment(const byte_dump_data_t data, const f_utf_string_static_t characters, const uint8_t invalid[], const uint8_t width_utf, const uint8_t byte_current, byte_dump_previous_t *previous, byte_dump_cell_t *cell, uint8_t *offset) f_attribute_visibility_internal; #endif // _di_byte_dump_print_character_fragment_ /** @@ -133,7 +133,7 @@ extern "C" { * Will be reduced to 0 once used. */ #ifndef _di_byte_dump_print_text_ - extern void byte_dump_print_text(const byte_dump_data_t data, const f_utf_string_static_t characters, const uint8_t invalid[], byte_dump_previous_t *previous, uint8_t *offset) f_gcc_attribute_visibility_internal; + extern void byte_dump_print_text(const byte_dump_data_t data, const f_utf_string_static_t characters, const uint8_t invalid[], byte_dump_previous_t *previous, uint8_t *offset) f_attribute_visibility_internal; #endif // _di_byte_dump_print_text_ #ifdef __cplusplus diff --git a/level_3/byte_dump/data/build/settings b/level_3/byte_dump/data/build/settings index d553615..ec8de73 100644 --- a/level_3/byte_dump/data/build/settings +++ b/level_3/byte_dump/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/control/c/main.c b/level_3/control/c/main.c index 956ba14..3563a28 100644 --- a/level_3/control/c/main.c +++ b/level_3/control/c/main.c @@ -1,6 +1,6 @@ #include "control.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; control_data_t data = control_data_initialize; diff --git a/level_3/control/data/build/settings b/level_3/control/data/build/settings index 54b9970..3d9fc03 100644 --- a/level_3/control/data/build/settings +++ b/level_3/control/data/build/settings @@ -50,7 +50,7 @@ defines_all -D_libcap_legacy_only_ defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/controller/c/controller.c b/level_3/controller/c/controller.c index 319e5b1..8b59328 100644 --- a/level_3/controller/c/controller.c +++ b/level_3/controller/c/controller.c @@ -173,7 +173,7 @@ extern "C" { if (data->error.verbosity != f_console_verbosity_quiet) { fprintf(data->error.to.stream, "%c", f_string_eol_s[0]); fprintf(data->error.to.stream, "%s%sThe parameter '", data->error.context.before->string, data->error.prefix ? data->error.prefix : f_string_empty_s); - fprintf(data->error.to.stream, "%s%s%s%s", data->error.context.after->string, data->error.notable.before->string, f_console_symbol_long_enable_s, controller_long_settings, data->error.notable.after->string); + fprintf(data->error.to.stream, "%s%s%s%s%s", data->error.context.after->string, data->error.notable.before->string, f_console_symbol_long_enable_s, controller_long_settings, data->error.notable.after->string); fprintf(data->error.to.stream, "%s' was specified, but no value was given.%s%c", data->error.context.before->string, data->error.context.after->string, f_string_eol_s[0]); } diff --git a/level_3/controller/c/main.c b/level_3/controller/c/main.c index 0d9ce1a..2524468 100644 --- a/level_3/controller/c/main.c +++ b/level_3/controller/c/main.c @@ -1,6 +1,6 @@ #include "controller.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; controller_data_t data = controller_data_t_initialize; f_status_t status = F_none; diff --git a/level_3/controller/c/private-common.c b/level_3/controller/c/private-common.c index 75043e9..b60a8bf 100644 --- a/level_3/controller/c/private-common.c +++ b/level_3/controller/c/private-common.c @@ -215,13 +215,13 @@ extern "C" { fprintf(print.to.stream, "%s' due to %s", print.context.before->string, print.context.after->string); if (status == F_parameter) { - fprintf(print.to.stream, "%s%s%s%s", print.context.after->string, "Invalid Parameter", print.notable.after->string); + fprintf(print.to.stream, "%s%s%s", print.notable.before->string, "Invalid Parameter", print.notable.after->string); } else if (status == F_deadlock) { - fprintf(print.to.stream, "%s%s%s%s", print.context.after->string, "Deadlock", print.notable.after->string); + fprintf(print.to.stream, "%s%s%s", print.notable.before->string, "Deadlock", print.notable.after->string); } else if (status == F_resource_not) { - fprintf(print.to.stream, "%s%s%s%s", print.context.after->string, "Too Many Locks", print.notable.after->string); + fprintf(print.to.stream, "%s%s%s", print.notable.before->string, "Too Many Locks", print.notable.after->string); } } diff --git a/level_3/controller/c/private-common.h b/level_3/controller/c/private-common.h index 193447f..9791fe3 100644 --- a/level_3/controller/c/private-common.h +++ b/level_3/controller/c/private-common.h @@ -1463,7 +1463,7 @@ extern "C" { * @see f_string_dynamic_resize() */ #ifndef _di_controller_cache_action_delete_simple_ - extern void controller_cache_action_delete_simple(controller_cache_action_t *cache) f_gcc_attribute_visibility_internal; + extern void controller_cache_action_delete_simple(controller_cache_action_t *cache) f_attribute_visibility_internal; #endif // _di_controller_cache_action_delete_simple_ /** @@ -1481,7 +1481,7 @@ extern "C" { * @see f_string_rangess_resize() */ #ifndef _di_controller_cache_delete_simple_ - extern void controller_cache_delete_simple(controller_cache_t *cache) f_gcc_attribute_visibility_internal; + extern void controller_cache_delete_simple(controller_cache_t *cache) f_attribute_visibility_internal; #endif // _di_controller_cache_delete_simple_ /** @@ -1493,7 +1493,7 @@ extern "C" { * @see f_string_dynamics_resize() */ #ifndef _di_controller_entry_action_delete_simple_ - extern void controller_entry_action_delete_simple(controller_entry_action_t *action) f_gcc_attribute_visibility_internal; + extern void controller_entry_action_delete_simple(controller_entry_action_t *action) f_attribute_visibility_internal; #endif // _di_controller_entry_action_delete_simple_ /** @@ -1506,7 +1506,7 @@ extern "C" { * @see f_memory_delete() */ #ifndef _di_controller_entry_actions_delete_simple_ - extern void controller_entry_actions_delete_simple(controller_entry_actions_t *actions) f_gcc_attribute_visibility_internal; + extern void controller_entry_actions_delete_simple(controller_entry_actions_t *actions) f_attribute_visibility_internal; #endif // _di_controller_entry_actions_delete_simple_ /** @@ -1518,7 +1518,7 @@ extern "C" { * @see f_string_dynamic_resize() */ #ifndef _di_controller_entry_item_delete_simple_ - extern void controller_entry_item_delete_simple(controller_entry_item_t *item) f_gcc_attribute_visibility_internal; + extern void controller_entry_item_delete_simple(controller_entry_item_t *item) f_attribute_visibility_internal; #endif // _di_controller_entry_item_delete_simple_ /** @@ -1531,7 +1531,7 @@ extern "C" { * @see f_memory_delete() */ #ifndef _di_controller_entry_items_delete_simple_ - extern void controller_entry_items_delete_simple(controller_entry_items_t *items) f_gcc_attribute_visibility_internal; + extern void controller_entry_items_delete_simple(controller_entry_items_t *items) f_attribute_visibility_internal; #endif // _di_controller_entry_items_delete_simple_ /** @@ -1559,7 +1559,7 @@ extern "C" { * @see fll_error_file_print() */ #ifndef _di_controller_error_file_print_ - extern void controller_error_file_print(const fll_error_print_t print, const f_status_t status, const f_string_t function, const bool fallback, const f_string_t name, const f_string_t operation, const uint8_t type, controller_thread_t *thread) f_gcc_attribute_visibility_internal; + extern void controller_error_file_print(const fll_error_print_t print, const f_status_t status, const f_string_t function, const bool fallback, const f_string_t name, const f_string_t operation, const uint8_t type, controller_thread_t *thread) f_attribute_visibility_internal; #endif // _di_controller_error_file_print_ /** @@ -1578,7 +1578,7 @@ extern "C" { * @see fll_error_print() */ #ifndef _di_controller_error_pid_bad_match_print_ - extern void controller_error_pid_bad_match_print(const fll_error_print_t print, const f_string_t path, controller_thread_t *thread) f_gcc_attribute_visibility_internal; + extern void controller_error_pid_bad_match_print(const fll_error_print_t print, const f_string_t path, controller_thread_t *thread) f_attribute_visibility_internal; #endif // _di_controller_error_pid_bad_match_print_ /** @@ -1600,7 +1600,7 @@ extern "C" { * @see fll_error_print() */ #ifndef _di_controller_error_print_ - extern void controller_error_print(const fll_error_print_t print, const f_status_t status, const f_string_t function, const bool fallback, controller_thread_t *thread) f_gcc_attribute_visibility_internal; + extern void controller_error_print(const fll_error_print_t print, const f_status_t status, const f_string_t function, const bool fallback, controller_thread_t *thread) f_attribute_visibility_internal; #endif // _di_controller_error_print_ /** @@ -1619,7 +1619,7 @@ extern "C" { * @see f_thread_mutex_delete() */ #ifndef _di_controller_lock_create_ - extern f_status_t controller_lock_create(controller_lock_t *lock) f_gcc_attribute_visibility_internal; + extern f_status_t controller_lock_create(controller_lock_t *lock) f_attribute_visibility_internal; #endif // _di_controller_lock_create_ /** @@ -1630,7 +1630,7 @@ extern "C" { * Will be set to NULLif delete succeeded. */ #ifndef _di_controller_lock_delete_mutex_ - extern void controller_lock_delete_mutex(f_thread_mutex_t *mutex) f_gcc_attribute_visibility_internal; + extern void controller_lock_delete_mutex(f_thread_mutex_t *mutex) f_attribute_visibility_internal; #endif // _di_controller_lock_delete_mutex_ /** @@ -1641,7 +1641,7 @@ extern "C" { * Will be set to NULL if delete succeeded. */ #ifndef _di_controller_lock_delete_rw_ - extern void controller_lock_delete_rw(f_thread_lock_t *lock) f_gcc_attribute_visibility_internal; + extern void controller_lock_delete_rw(f_thread_lock_t *lock) f_attribute_visibility_internal; #endif // _di_controller_lock_delete_rw_ /** @@ -1654,7 +1654,7 @@ extern "C" { * @see f_thread_mutex_delete() */ #ifndef _di_controller_lock_delete_simple_ - extern void controller_lock_delete_simple(controller_lock_t *lock) f_gcc_attribute_visibility_internal; + extern void controller_lock_delete_simple(controller_lock_t *lock) f_attribute_visibility_internal; #endif // _di_controller_lock_delete_simple_ /** @@ -1677,7 +1677,7 @@ extern "C" { * @see controller_entry_error_print_cache() */ #ifndef _di_controller_lock_error_critical_print_ - extern void controller_lock_error_critical_print(const fll_error_print_t print, const f_status_t status, const bool read, controller_thread_t *thread) f_gcc_attribute_visibility_internal; + extern void controller_lock_error_critical_print(const fll_error_print_t print, const f_status_t status, const bool read, controller_thread_t *thread) f_attribute_visibility_internal; #endif // _di_controller_lock_error_critical_print_ /** @@ -1705,7 +1705,7 @@ extern "C" { * @see f_thread_lock_read_timed() */ #ifndef _di_controller_lock_read_ - extern f_status_t controller_lock_read(const bool is_normal, controller_thread_t * const thread, f_thread_lock_t *lock) f_gcc_attribute_visibility_internal; + extern f_status_t controller_lock_read(const bool is_normal, controller_thread_t * const thread, f_thread_lock_t *lock) f_attribute_visibility_internal; #endif // _di_controller_lock_read_ /** @@ -1729,7 +1729,7 @@ extern "C" { * @see controller_lock_read() */ #ifndef _di_controller_lock_read_process_ - extern f_status_t controller_lock_read_process(controller_process_t * const process, controller_thread_t * const thread, f_thread_lock_t *lock) f_gcc_attribute_visibility_internal; + extern f_status_t controller_lock_read_process(controller_process_t * const process, controller_thread_t * const thread, f_thread_lock_t *lock) f_attribute_visibility_internal; #endif // _di_controller_lock_read_process_ /** @@ -1753,7 +1753,7 @@ extern "C" { * @see controller_lock_read() */ #ifndef _di_controller_lock_read_process_type_ - extern f_status_t controller_lock_read_process_type(const uint8_t type, controller_thread_t * const thread, f_thread_lock_t *lock) f_gcc_attribute_visibility_internal; + extern f_status_t controller_lock_read_process_type(const uint8_t type, controller_thread_t * const thread, f_thread_lock_t *lock) f_attribute_visibility_internal; #endif // _di_controller_lock_read_process_type_ /** @@ -1781,7 +1781,7 @@ extern "C" { * @see f_thread_lock_write_timed() */ #ifndef _di_controller_lock_write_ - extern f_status_t controller_lock_write(const bool is_normal, controller_thread_t * const thread, f_thread_lock_t *lock) f_gcc_attribute_visibility_internal; + extern f_status_t controller_lock_write(const bool is_normal, controller_thread_t * const thread, f_thread_lock_t *lock) f_attribute_visibility_internal; #endif // _di_controller_lock_write_ /** @@ -1805,7 +1805,7 @@ extern "C" { * @see controller_lock_write_process_type() */ #ifndef _di_controller_lock_write_process_ - extern f_status_t controller_lock_write_process(controller_process_t * const process, controller_thread_t * const thread, f_thread_lock_t *lock) f_gcc_attribute_visibility_internal; + extern f_status_t controller_lock_write_process(controller_process_t * const process, controller_thread_t * const thread, f_thread_lock_t *lock) f_attribute_visibility_internal; #endif // _di_controller_lock_write_process_ /** @@ -1829,7 +1829,7 @@ extern "C" { * @see controller_lock_write() */ #ifndef _di_controller_lock_write_process_type_ - extern f_status_t controller_lock_write_process_type(const uint8_t type, controller_thread_t * const thread, f_thread_lock_t *lock) f_gcc_attribute_visibility_internal; + extern f_status_t controller_lock_write_process_type(const uint8_t type, controller_thread_t * const thread, f_thread_lock_t *lock) f_attribute_visibility_internal; #endif // _di_controller_lock_write_process_type_ /** @@ -1852,7 +1852,7 @@ extern "C" { * @see controller_pids_resize() */ #ifndef _di_controller_pids_increase_ - extern f_status_t controller_pids_increase(controller_pids_t *pids) f_gcc_attribute_visibility_internal; + extern f_status_t controller_pids_increase(controller_pids_t *pids) f_attribute_visibility_internal; #endif // _di_controller_rule_increase_ /** @@ -1872,7 +1872,7 @@ extern "C" { * @see f_memory_resize() */ #ifndef _di_controller_pids_resize_ - extern f_status_t controller_pids_resize(const f_array_length_t length, controller_pids_t *pids) f_gcc_attribute_visibility_internal; + extern f_status_t controller_pids_resize(const f_array_length_t length, controller_pids_t *pids) f_attribute_visibility_internal; #endif // _di_controller_pids_resize_ /** @@ -1889,7 +1889,7 @@ extern "C" { * The print mutex to unlock. */ #ifndef _di_controller_print_unlock_flush_ - void controller_print_unlock_flush(FILE * const stream, f_thread_mutex_t *mutex) f_gcc_attribute_visibility_internal; + void controller_print_unlock_flush(FILE * const stream, f_thread_mutex_t *mutex) f_attribute_visibility_internal; #endif // _di_controller_print_unlock_flush_ /** @@ -1903,7 +1903,7 @@ extern "C" { * @see f_thread_mutex_delete() */ #ifndef _di_controller_process_delete_simple_ - extern void controller_process_delete_simple(controller_process_t *process) f_gcc_attribute_visibility_internal; + extern void controller_process_delete_simple(controller_process_t *process) f_attribute_visibility_internal; #endif // _di_controller_process_delete_simple_ /*** @@ -1925,7 +1925,7 @@ extern "C" { * @see f_thread_condition_wait_timed() */ #ifndef _di_controller_process_wait_ - extern f_status_t controller_process_wait(const controller_main_t main, controller_process_t *process) f_gcc_attribute_visibility_internal; + extern f_status_t controller_process_wait(const controller_main_t main, controller_process_t *process) f_attribute_visibility_internal; #endif // _di_controller_process_wait_ /** @@ -1937,7 +1937,7 @@ extern "C" { * @see controller_processs_resize() */ #ifndef _di_controller_processs_delete_simple_ - extern void controller_processs_delete_simple(controller_processs_t *processs) f_gcc_attribute_visibility_internal; + extern void controller_processs_delete_simple(controller_processs_t *processs) f_attribute_visibility_internal; #endif // _di_controller_processs_delete_simple_ /** @@ -1960,7 +1960,7 @@ extern "C" { * @see controller_processs_resize() */ #ifndef _di_controller_processs_increase_ - extern f_status_t controller_processs_increase(controller_processs_t *processs) f_gcc_attribute_visibility_internal; + extern f_status_t controller_processs_increase(controller_processs_t *processs) f_attribute_visibility_internal; #endif // _di_controller_rule_increase_ /** @@ -1985,7 +1985,7 @@ extern "C" { * @see f_thread_lock_create() */ #ifndef _di_controller_processs_resize_ - extern f_status_t controller_processs_resize(const f_array_length_t length, controller_processs_t *processs) f_gcc_attribute_visibility_internal; + extern f_status_t controller_processs_resize(const f_array_length_t length, controller_processs_t *processs) f_attribute_visibility_internal; #endif // _di_controller_processs_resize_ /** @@ -1997,7 +1997,7 @@ extern "C" { * @see f_string_dynamics_resize() */ #ifndef _di_controller_rule_action_delete_simple_ - extern void controller_rule_action_delete_simple(controller_rule_action_t *action) f_gcc_attribute_visibility_internal; + extern void controller_rule_action_delete_simple(controller_rule_action_t *action) f_attribute_visibility_internal; #endif // _di_controller_rule_action_delete_simple_ /** @@ -2010,7 +2010,7 @@ extern "C" { * @see f_memory_delete() */ #ifndef _di_controller_rule_actions_delete_simple_ - extern void controller_rule_actions_delete_simple(controller_rule_actions_t *actions) f_gcc_attribute_visibility_internal; + extern void controller_rule_actions_delete_simple(controller_rule_actions_t *actions) f_attribute_visibility_internal; #endif // _di_controller_rule_actions_delete_simple_ /** @@ -2032,7 +2032,7 @@ extern "C" { * @see f_string_dynamic_resize() */ #ifndef _di_controller_rule_delete_simple_ - extern void controller_rule_delete_simple(controller_rule_t *rule) f_gcc_attribute_visibility_internal; + extern void controller_rule_delete_simple(controller_rule_t *rule) f_attribute_visibility_internal; #endif // _di_controller_rule_delete_simple_ /** @@ -2044,7 +2044,7 @@ extern "C" { * @see f_string_dynamic_resize() */ #ifndef _di_controller_rule_item_delete_simple_ - extern void controller_rule_item_delete_simple(controller_rule_item_t *item) f_gcc_attribute_visibility_internal; + extern void controller_rule_item_delete_simple(controller_rule_item_t *item) f_attribute_visibility_internal; #endif // _di_controller_rule_item_delete_simple_ /** @@ -2057,7 +2057,7 @@ extern "C" { * @see f_memory_delete() */ #ifndef _di_controller_rule_items_delete_simple_ - extern void controller_rule_items_delete_simple(controller_rule_items_t *items) f_gcc_attribute_visibility_internal; + extern void controller_rule_items_delete_simple(controller_rule_items_t *items) f_attribute_visibility_internal; #endif // _di_controller_rule_items_delete_simple_ /** @@ -2069,7 +2069,7 @@ extern "C" { * @see f_string_dynamic_resize() */ #ifndef _di_controller_rule_on_delete_simple_ - extern void controller_rule_on_delete_simple(controller_rule_on_t *on) f_gcc_attribute_visibility_internal; + extern void controller_rule_on_delete_simple(controller_rule_on_t *on) f_attribute_visibility_internal; #endif // _di_controller_rule_on_delete_simple_ /** @@ -2082,7 +2082,7 @@ extern "C" { * @see f_memory_delete() */ #ifndef _di_controller_rule_ons_delete_simple_ - extern void controller_rule_ons_delete_simple(controller_rule_ons_t *ons) f_gcc_attribute_visibility_internal; + extern void controller_rule_ons_delete_simple(controller_rule_ons_t *ons) f_attribute_visibility_internal; #endif // _di_controller_rule_ons_delete_simple_ /** @@ -2105,7 +2105,7 @@ extern "C" { * @see controller_rule_ons_resize() */ #ifndef _di_controller_rule_ons_increase_ - extern f_status_t controller_rule_ons_increase(controller_rule_ons_t *ons) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_ons_increase(controller_rule_ons_t *ons) f_attribute_visibility_internal; #endif // _di_controller_rule_increase_ /** @@ -2125,7 +2125,7 @@ extern "C" { * @see f_memory_resize() */ #ifndef _di_controller_rule_ons_resize_ - extern f_status_t controller_rule_ons_resize(const f_array_length_t length, controller_rule_ons_t *ons) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_ons_resize(const f_array_length_t length, controller_rule_ons_t *ons) f_attribute_visibility_internal; #endif // _di_controller_rule_ons_resize_ /** @@ -2137,7 +2137,7 @@ extern "C" { * @see controller_rules_resize() */ #ifndef _di_controller_rules_delete_simple_ - extern void controller_rules_delete_simple(controller_rules_t *rules) f_gcc_attribute_visibility_internal; + extern void controller_rules_delete_simple(controller_rules_t *rules) f_attribute_visibility_internal; #endif // _di_controller_rules_delete_simple_ /** @@ -2160,7 +2160,7 @@ extern "C" { * @see controller_rules_resize() */ #ifndef _di_controller_rules_increase_ - extern f_status_t controller_rules_increase(controller_rules_t *rules) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rules_increase(controller_rules_t *rules) f_attribute_visibility_internal; #endif // _di_controller_rule_increase_ /** @@ -2180,7 +2180,7 @@ extern "C" { * @see f_memory_resize() */ #ifndef _di_controller_rules_resize_ - extern f_status_t controller_rules_resize(const f_array_length_t length, controller_rules_t *rules) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rules_resize(const f_array_length_t length, controller_rules_t *rules) f_attribute_visibility_internal; #endif // _di_controller_rules_resize_ /** @@ -2194,7 +2194,7 @@ extern "C" { * @see f_string_dynamic_resize() */ #ifndef _di_controller_setting_delete_simple_ - extern void controller_setting_delete_simple(controller_setting_t *setting) f_gcc_attribute_visibility_internal; + extern void controller_setting_delete_simple(controller_setting_t *setting) f_attribute_visibility_internal; #endif // _di_controller_setting_delete_simple_ /** @@ -2207,7 +2207,7 @@ extern "C" { * @see f_thread_mutex_unlock() */ #ifndef _di_controller_thread_delete_simple_ - extern void controller_thread_delete_simple(controller_thread_t *thread) f_gcc_attribute_visibility_internal; + extern void controller_thread_delete_simple(controller_thread_t *thread) f_attribute_visibility_internal; #endif // _di_controller_thread_delete_simple_ /** @@ -2224,7 +2224,7 @@ extern "C" { * The resulting current time. */ #ifndef _di_controller_time_ - void controller_time(const time_t seconds, const long nanoseconds, struct timespec *time) f_gcc_attribute_visibility_internal; + void controller_time(const time_t seconds, const long nanoseconds, struct timespec *time) f_attribute_visibility_internal; #endif // _di_controller_time_ #ifdef __cplusplus diff --git a/level_3/controller/c/private-controller.c b/level_3/controller/c/private-controller.c index 56ac04f..84595af 100644 --- a/level_3/controller/c/private-controller.c +++ b/level_3/controller/c/private-controller.c @@ -193,7 +193,7 @@ extern "C" { status = f_file_stream_open(path.string, f_file_open_mode_truncate_s, &file); if (F_status_is_error(status)) return status; - fprintf(file.stream, "%llu%c", pid, f_string_eol_s[0]); + fprintf(file.stream, "%d%c", pid, f_string_eol_s[0]); f_file_stream_close(F_true, &file); @@ -790,7 +790,7 @@ extern "C" { fprintf(main->data->output.stream, "%s%s%s", main->data->context.set.title.before->string, cache->action.name_action.string, main->data->context.set.title.after->string); if (entry_action->parameters.used) { - fprintf(main->data->output.stream, f_string_space_s); + fprintf(main->data->output.stream, "%s", f_string_space_s); fprintf(main->data->output.stream, "%s", main->data->context.set.notable.before->string); controller_entry_action_parameters_print(main->data->output.stream, entry_actions->array[cache->ats.array[at_j]]); fprintf(main->data->output.stream, "%s", main->data->context.set.notable.after->string); @@ -810,7 +810,7 @@ extern "C" { fprintf(main->data->error.to.stream, "%s%s%s", main->data->error.context.after->string, main->data->error.notable.before->string, cache->action.name_action.string); if (entry_action->parameters.used) { - fprintf(main->data->error.to.stream, f_string_space_s); + fprintf(main->data->error.to.stream, "%s", f_string_space_s); controller_entry_action_parameters_print(main->data->error.to.stream, entry_actions->array[cache->ats.array[at_j]]); } @@ -835,7 +835,7 @@ extern "C" { fprintf(main->data->warning.to.stream, "%s%s%s", main->data->warning.context.after->string, main->data->warning.notable.before->string, cache->action.name_action.string); if (entry_action->parameters.used) { - fprintf(main->data->warning.to.stream, f_string_space_s); + fprintf(main->data->warning.to.stream, "%s", f_string_space_s); controller_entry_action_parameters_print(main->data->warning.to.stream, entry_actions->array[cache->ats.array[at_j]]); } @@ -860,7 +860,7 @@ extern "C" { fprintf(main->data->output.stream, "%s%s%s", main->data->context.set.title.before->string, cache->action.name_action.string, main->data->context.set.title.after->string); if (entry_action->parameters.used) { - fprintf(main->data->output.stream, f_string_space_s); + fprintf(main->data->output.stream, "%s", f_string_space_s); fprintf(main->data->output.stream, "%s", main->data->context.set.notable.before->string); controller_entry_action_parameters_print(main->data->output.stream, entry_actions->array[cache->ats.array[at_j]]); fprintf(main->data->output.stream, "%s", main->data->context.set.notable.after->string); @@ -879,7 +879,7 @@ extern "C" { fprintf(main->data->warning.to.stream, "%s%s", main->data->warning.notable.before->string, cache->action.name_action.string); if (entry_action->parameters.used) { - fprintf(main->data->warning.to.stream, f_string_space_s); + fprintf(main->data->warning.to.stream, "%s", f_string_space_s); controller_entry_action_parameters_print(main->data->warning.to.stream, entry_actions->array[cache->ats.array[at_j]]); } @@ -1228,7 +1228,7 @@ extern "C" { f_thread_mutex_lock(&main->thread->lock.print); fprintf(main->data->error.to.stream, "%c", f_string_eol_s[0]); - fprintf(main->data->error.to.stream, "%s%sExecution failed, unable to find program or script ", main->data->error.context.before->string, main->data->error.prefix ? main->data->error.prefix : f_string_empty_s, is_entry ? controller_string_entry_s : controller_string_exit_s); + fprintf(main->data->error.to.stream, "%s%sExecution failed, unable to find program or script ", main->data->error.context.before->string, main->data->error.prefix ? main->data->error.prefix : f_string_empty_s); fprintf(main->data->error.to.stream, "%s%s%s%s", main->data->error.context.after->string, main->data->error.notable.before->string, entry_action->parameters.array[0].string, main->data->error.notable.after->string); fprintf(main->data->error.to.stream, "%s.%s%c", main->data->error.context.before->string, main->data->error.context.after->string, f_string_eol_s[0]); @@ -1248,7 +1248,7 @@ extern "C" { f_thread_mutex_lock(&main->thread->lock.print); fprintf(main->data->error.to.stream, "%c", f_string_eol_s[0]); - fprintf(main->data->error.to.stream, "%s%sExecution failed with return value of ", main->data->error.context.before->string, main->data->error.prefix ? main->data->error.prefix : f_string_empty_s, is_entry ? controller_string_entry_s : controller_string_exit_s); + fprintf(main->data->error.to.stream, "%s%sExecution failed with return value of ", main->data->error.context.before->string, main->data->error.prefix ? main->data->error.prefix : f_string_empty_s); fprintf(main->data->error.to.stream, "%s%s%d%s", main->data->error.context.after->string, main->data->error.notable.before->string, result, main->data->error.notable.after->string); fprintf(main->data->error.to.stream, "%s.%s%c", main->data->error.context.before->string, main->data->error.context.after->string, f_string_eol_s[0]); diff --git a/level_3/controller/c/private-controller.h b/level_3/controller/c/private-controller.h index fcc3f8b..691b620 100644 --- a/level_3/controller/c/private-controller.h +++ b/level_3/controller/c/private-controller.h @@ -30,7 +30,7 @@ extern "C" { * @see fl_string_dynamic_rip_nulless() */ #ifndef _di_controller_string_dynamic_rip_nulless_terminated_ - extern f_status_t controller_string_dynamic_rip_nulless_terminated(const f_string_static_t source, const f_string_range_t range, f_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t controller_string_dynamic_rip_nulless_terminated(const f_string_static_t source, const f_string_range_t range, f_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // _di_controller_string_dynamic_rip_nulless_terminated_ /** @@ -51,7 +51,7 @@ extern "C" { * @see f_string_dynamic_terminate_after() */ #ifndef _di_controller_string_dynamic_append_terminated_ - extern f_status_t controller_string_dynamic_append_terminated(const f_string_static_t from, f_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t controller_string_dynamic_append_terminated(const f_string_static_t from, f_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // _di_controller_string_dynamic_append_terminated_ /** @@ -74,7 +74,7 @@ extern "C" { * @see f_string_dynamic_terminate_after() */ #ifndef _di_controller_string_dynamic_partial_append_terminated_ - extern f_status_t controller_string_dynamic_partial_append_terminated(const f_string_static_t from, const f_string_range_t range, f_string_dynamic_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t controller_string_dynamic_partial_append_terminated(const f_string_static_t from, const f_string_range_t range, f_string_dynamic_t *destination) f_attribute_visibility_internal; #endif // _di_controller_string_dynamic_partial_append_terminated_ /** @@ -118,7 +118,7 @@ extern "C" { * @see f_string_dynamic_terminate_after() */ #ifndef _di_controller_file_load_ - extern f_status_t controller_file_load(const bool required, const f_string_t path_prefix, const f_string_static_t path_name, const f_string_t path_suffix, const f_array_length_t path_prefix_length, const f_array_length_t path_suffix_length, controller_main_t main, controller_cache_t *cache) f_gcc_attribute_visibility_internal; + extern f_status_t controller_file_load(const bool required, const f_string_t path_prefix, const f_string_static_t path_name, const f_string_t path_suffix, const f_array_length_t path_prefix_length, const f_array_length_t path_suffix_length, controller_main_t main, controller_cache_t *cache) f_attribute_visibility_internal; #endif // _di_controller_file_load_ /** @@ -143,7 +143,7 @@ extern "C" { * @see f_file_stream_open() */ #ifndef _di_controller_file_pid_create_ - f_status_t controller_file_pid_create(const pid_t pid, const f_string_static_t path) f_gcc_attribute_visibility_internal; + f_status_t controller_file_pid_create(const pid_t pid, const f_string_static_t path) f_attribute_visibility_internal; #endif // _di_controller_file_pid_create_ /** @@ -167,7 +167,7 @@ extern "C" { * Errors (with error bit) from: fl_conversion_string_to_decimal_unsigned() */ #ifndef _di_controller_file_pid_delete_ - f_status_t controller_file_pid_delete(const pid_t pid, const f_string_static_t path) f_gcc_attribute_visibility_internal; + f_status_t controller_file_pid_delete(const pid_t pid, const f_string_static_t path) f_attribute_visibility_internal; #endif // _di_controller_file_pid_delete_ /** @@ -187,7 +187,7 @@ extern "C" { * Errors (with error bit) from: fl_conversion_string_to_decimal_unsigned() */ #ifndef _di_controller_file_pid_read_ - f_status_t controller_file_pid_read(const f_string_static_t path, pid_t *pid) f_gcc_attribute_visibility_internal; + f_status_t controller_file_pid_read(const f_string_static_t path, pid_t *pid) f_attribute_visibility_internal; #endif // _di_controller_file_pid_read_ /** @@ -214,7 +214,7 @@ extern "C" { * F_true if there is a process found (address is stored in "at"). */ #ifndef _di_controller_find_process_ - f_status_t controller_find_process(const f_array_length_t action, const f_string_static_t alias, const controller_processs_t processs, f_array_length_t *at) f_gcc_attribute_visibility_internal; + f_status_t controller_find_process(const f_array_length_t action, const f_string_static_t alias, const controller_processs_t processs, f_array_length_t *at) f_attribute_visibility_internal; #endif // _di_controller_find_process_ /** @@ -241,7 +241,7 @@ extern "C" { * @see fl_conversion_string_to_number_unsigned() */ #ifndef _di_controller_get_id_user_ - f_status_t controller_get_id_user(const f_string_static_t buffer, const f_string_range_t range, controller_cache_t *cache, uid_t *id) f_gcc_attribute_visibility_internal; + f_status_t controller_get_id_user(const f_string_static_t buffer, const f_string_range_t range, controller_cache_t *cache, uid_t *id) f_attribute_visibility_internal; #endif // _di_controller_get_id_user_ /** @@ -268,7 +268,7 @@ extern "C" { * @see fl_conversion_string_to_number_unsigned() */ #ifndef _di_controller_get_id_group_ - f_status_t controller_get_id_group(const f_string_static_t buffer, const f_string_range_t range, controller_cache_t *cache, gid_t *id) f_gcc_attribute_visibility_internal; + f_status_t controller_get_id_group(const f_string_static_t buffer, const f_string_range_t range, controller_cache_t *cache, gid_t *id) f_attribute_visibility_internal; #endif // _di_controller_get_id_group_ /** @@ -294,7 +294,7 @@ extern "C" { * @see controller_file_pid_create() */ #ifndef _di_controller_perform_ready_ - extern f_status_t controller_perform_ready(const bool is_entry, controller_main_t main, controller_cache_t *cache) f_gcc_attribute_visibility_internal; + extern f_status_t controller_perform_ready(const bool is_entry, controller_main_t main, controller_cache_t *cache) f_attribute_visibility_internal; #endif // _di_controller_perform_ready_ /** @@ -325,7 +325,7 @@ extern "C" { * @see f_string_dynamic_terminate_after() */ #ifndef _di_controller_preprocess_entry_ - extern f_status_t controller_preprocess_entry(const bool is_entry, controller_main_t main, controller_cache_t *cache) f_gcc_attribute_visibility_internal; + extern f_status_t controller_preprocess_entry(const bool is_entry, controller_main_t main, controller_cache_t *cache) f_attribute_visibility_internal; #endif // _di_controller_preprocess_entry_ /** @@ -359,7 +359,7 @@ extern "C" { * @see controller_string_dynamic_append_terminated() */ #ifndef _di_controller_process_entry_ - extern f_status_t controller_process_entry(const bool failsafe, const bool is_entry, controller_main_t *main, controller_cache_t *cache) f_gcc_attribute_visibility_internal; + extern f_status_t controller_process_entry(const bool failsafe, const bool is_entry, controller_main_t *main, controller_cache_t *cache) f_attribute_visibility_internal; #endif // _di_controller_process_entry_ /** @@ -403,7 +403,7 @@ extern "C" { * @see controller_lock_write() */ #ifndef _di_controller_process_prepare_ - extern f_status_t controller_process_prepare(const bool is_normal, const uint8_t action, const f_string_static_t alias, const controller_main_t main, f_array_length_t *id) f_gcc_attribute_visibility_internal; + extern f_status_t controller_process_prepare(const bool is_normal, const uint8_t action, const f_string_static_t alias, const controller_main_t main, f_array_length_t *id) f_attribute_visibility_internal; #endif // _di_controller_process_prepare_ /** @@ -436,7 +436,7 @@ extern "C" { * @see controller_process_prepare() */ #ifndef _di_controller_process_prepare_process_type_ - extern f_status_t controller_process_prepare_process_type(const uint8_t type, const uint8_t action, const f_string_static_t alias, const controller_main_t main, f_array_length_t *id) f_gcc_attribute_visibility_internal; + extern f_status_t controller_process_prepare_process_type(const uint8_t type, const uint8_t action, const f_string_static_t alias, const controller_main_t main, f_array_length_t *id) f_attribute_visibility_internal; #endif // _di_controller_process_prepare_process_type_ /** @@ -449,7 +449,7 @@ extern "C" { * A subset of status codes with error bit. */ #ifndef _di_controller_status_simplify_error_ - extern f_status_t controller_status_simplify_error(const f_status_t status) f_gcc_attribute_visibility_internal; + extern f_status_t controller_status_simplify_error(const f_status_t status) f_attribute_visibility_internal; #endif // _di_controller_status_simplify_error_ /** @@ -474,7 +474,7 @@ extern "C" { * @see f_utf_is_alpha_digit() */ #ifndef _di_controller_validate_define_name_ - extern f_status_t controller_validate_environment_name(const f_string_static_t name) f_gcc_attribute_visibility_internal; + extern f_status_t controller_validate_environment_name(const f_string_static_t name) f_attribute_visibility_internal; #endif // _di_controller_validate_define_name_ /** @@ -493,7 +493,7 @@ extern "C" { * @see f_utf_is_graph() */ #ifndef _di_controller_validate_has_graph_ - extern f_status_t controller_validate_has_graph(const f_string_static_t name) f_gcc_attribute_visibility_internal; + extern f_status_t controller_validate_has_graph(const f_string_static_t name) f_attribute_visibility_internal; #endif // _di_controller_validate_has_graph_ #ifdef __cplusplus diff --git a/level_3/controller/c/private-entry.c b/level_3/controller/c/private-entry.c index 05be90f..d57f66e 100644 --- a/level_3/controller/c/private-entry.c +++ b/level_3/controller/c/private-entry.c @@ -21,7 +21,7 @@ extern "C" { if (index == action.parameters.used) break; - fprintf(stream, f_string_space_s); + fprintf(stream, "%s", f_string_space_s); } // for } #endif // _di_controller_entry_action_parameters_print_ @@ -376,7 +376,7 @@ extern "C" { fprintf(main.data->error.to.stream, "%s' requires ", main.data->error.context.before->string); if (at_least == at_most) { - fprintf(main.data->error.to.stream, "exactly ", main.data->error.context.before->string); + fprintf(main.data->error.to.stream, "exactly "); } fprintf(main.data->error.to.stream, "%s%s%llu%s", main.data->error.context.after->string, main.data->error.notable.before->string, at_least, main.data->error.notable.after->string); @@ -1154,7 +1154,7 @@ extern "C" { fprintf(main.data->error.to.stream, "%s%sThe %s item setting '", main.data->error.context.before->string, main.data->error.prefix ? main.data->error.prefix : f_string_empty_s, is_entry ? controller_string_entry_s : controller_string_exit_s); fprintf(main.data->error.to.stream, "%s%s%s%s", main.data->error.context.after->string, main.data->error.notable.before->string, cache->action.name_action.string, main.data->error.notable.after->string); fprintf(main.data->error.to.stream, "%s' requires exactly ", main.data->error.context.before->string); - fprintf(main.data->error.to.stream, "%s%s%llu%s", main.data->error.context.after->string, main.data->error.notable.before->string, 1, main.data->error.notable.after->string); + fprintf(main.data->error.to.stream, "%s%s%d%s", main.data->error.context.after->string, main.data->error.notable.before->string, 1, main.data->error.notable.after->string); fprintf(main.data->error.to.stream, "%s parameter.%s%c", main.data->error.context.before->string, main.data->error.context.after->string, f_string_eol_s[0]); } diff --git a/level_3/controller/c/private-entry.h b/level_3/controller/c/private-entry.h index cc5820f..8e25b11 100644 --- a/level_3/controller/c/private-entry.h +++ b/level_3/controller/c/private-entry.h @@ -21,7 +21,7 @@ extern "C" { * The entry action whose parameters will be printed. */ #ifndef _di_controller_entry_action_parameters_print_ - extern void controller_entry_action_parameters_print(FILE * const stream, const controller_entry_action_t action) f_gcc_attribute_visibility_internal; + extern void controller_entry_action_parameters_print(FILE * const stream, const controller_entry_action_t action) f_attribute_visibility_internal; #endif // _di_controller_entry_action_parameters_print_ /** @@ -35,7 +35,7 @@ extern "C" { * FALSE otherwise. */ #ifndef _di_controller_entry_action_type_is_rule_ - extern f_status_t controller_entry_action_type_is_rule(uint8_t type) f_gcc_attribute_visibility_internal; + extern f_status_t controller_entry_action_type_is_rule(uint8_t type) f_attribute_visibility_internal; #endif // _di_controller_entry_action_type_is_rule_ /** @@ -49,7 +49,7 @@ extern "C" { * The string with used == 0 if no match was found. */ #ifndef _di_controller_entry_action_type_name_ - extern f_string_static_t controller_entry_action_type_name(const uint8_t type) f_gcc_attribute_visibility_internal; + extern f_string_static_t controller_entry_action_type_name(const uint8_t type) f_attribute_visibility_internal; #endif // _di_controller_entry_action_type_name_ /** @@ -63,7 +63,7 @@ extern "C" { * FALSE otherwise. */ #ifndef _di_controller_entry_action_type_to_rule_action_type_ - extern uint8_t controller_entry_action_type_to_rule_action_type(uint8_t type) f_gcc_attribute_visibility_internal; + extern uint8_t controller_entry_action_type_to_rule_action_type(uint8_t type) f_attribute_visibility_internal; #endif // _di_controller_entry_action_type_to_rule_action_type_ /** @@ -85,7 +85,7 @@ extern "C" { * @see f_memory_resize() */ #ifndef _di_controller_entry_actions_increase_by_ - extern f_status_t controller_entry_actions_increase_by(const f_array_length_t amount, controller_entry_actions_t *actions) f_gcc_attribute_visibility_internal; + extern f_status_t controller_entry_actions_increase_by(const f_array_length_t amount, controller_entry_actions_t *actions) f_attribute_visibility_internal; #endif // _di_controller_entry_actions_increase_by_ /** @@ -125,7 +125,7 @@ extern "C" { * @see fll_fss_extended_read() */ #ifndef _di_controller_entry_actions_read_ - extern f_status_t controller_entry_actions_read(const bool is_entry, const f_string_range_t content_range, controller_main_t main, controller_cache_t *cache, controller_entry_actions_t *actions) f_gcc_attribute_visibility_internal; + extern f_status_t controller_entry_actions_read(const bool is_entry, const f_string_range_t content_range, controller_main_t main, controller_cache_t *cache, controller_entry_actions_t *actions) f_attribute_visibility_internal; #endif // _di_controller_entry_actions_read_ /** @@ -153,7 +153,7 @@ extern "C" { * @see controller_entry_error_print_cache() */ #ifndef _di_controller_entry_error_print_ - extern void controller_entry_error_print(const bool is_entry, const fll_error_print_t print, const controller_cache_action_t cache, const f_status_t status, const f_string_t function, const bool fallback, controller_thread_t *thread) f_gcc_attribute_visibility_internal; + extern void controller_entry_error_print(const bool is_entry, const fll_error_print_t print, const controller_cache_action_t cache, const f_status_t status, const f_string_t function, const bool fallback, controller_thread_t *thread) f_attribute_visibility_internal; #endif // _di_controller_entry_error_print_ /** @@ -175,7 +175,7 @@ extern "C" { * @see controller_entry_read() */ #ifndef _di_controller_entry_error_print_cache_ - extern void controller_entry_error_print_cache(const bool is_entry, const fll_error_print_t print, const controller_cache_action_t cache) f_gcc_attribute_visibility_internal; + extern void controller_entry_error_print_cache(const bool is_entry, const fll_error_print_t print, const controller_cache_action_t cache) f_attribute_visibility_internal; #endif // _di_controller_entry_error_print_cache_ /** @@ -197,7 +197,7 @@ extern "C" { * @see f_memory_resize() */ #ifndef _di_controller_entry_items_increase_by_ - extern f_status_t controller_entry_items_increase_by(const f_array_length_t amount, controller_entry_items_t *items) f_gcc_attribute_visibility_internal; + extern f_status_t controller_entry_items_increase_by(const f_array_length_t amount, controller_entry_items_t *items) f_attribute_visibility_internal; #endif // _di_controller_entry_items_increase_by_ /** @@ -243,7 +243,7 @@ extern "C" { * @see fll_fss_basic_list_read() */ #ifndef _di_controller_entry_read_ - extern f_status_t controller_entry_read(const bool is_entry, controller_main_t main, controller_cache_t *cache) f_gcc_attribute_visibility_internal; + extern f_status_t controller_entry_read(const bool is_entry, controller_main_t main, controller_cache_t *cache) f_attribute_visibility_internal; #endif // _di_controller_entry_read_ /** @@ -260,7 +260,7 @@ extern "C" { * A structure for containing and caching relevant data. */ #ifndef _di_controller_entry_settings_read_ - extern f_status_t controller_entry_settings_read(const bool is_entry, const f_string_range_t content_range, controller_main_t main, controller_cache_t *cache) f_gcc_attribute_visibility_internal; + extern f_status_t controller_entry_settings_read(const bool is_entry, const f_string_range_t content_range, controller_main_t main, controller_cache_t *cache) f_attribute_visibility_internal; #endif // _di_controller_entry_settings_read_ #ifdef __cplusplus diff --git a/level_3/controller/c/private-rule.c b/level_3/controller/c/private-rule.c index 3e94324..c1ce227 100644 --- a/level_3/controller/c/private-rule.c +++ b/level_3/controller/c/private-rule.c @@ -5208,7 +5208,7 @@ extern "C" { fprintf(data->output.stream, "%c", f_string_eol_s[0]); } else { - fprintf(data->output.stream, " %s%s%s ", data->context.set.important.before->string, controller_string_capability_s, data->context.set.important.after->string, f_string_eol_s[0]); + fprintf(data->output.stream, " %s%s%s ", data->context.set.important.before->string, controller_string_capability_s, data->context.set.important.after->string); fprintf(data->output.stream, "%s(unsupported)%s%c", data->context.set.warning.before->string, data->context.set.warning.after->string, f_string_eol_s[0]); } @@ -5220,7 +5220,7 @@ extern "C" { for (i = 0; i < rule.control_group.groups.used; ++i) { if (rule.control_group.groups.array[i].used) { - fprintf(data->output.stream, f_string_space_s); + fprintf(data->output.stream, "%s", f_string_space_s); f_print_dynamic(data->output.stream, rule.control_group.groups.array[i]); } } // for diff --git a/level_3/controller/c/private-rule.h b/level_3/controller/c/private-rule.h index abbe05b..1c65f79 100644 --- a/level_3/controller/c/private-rule.h +++ b/level_3/controller/c/private-rule.h @@ -23,7 +23,7 @@ extern "C" { * The string with used == 0 if no match was found. */ #ifndef _di_controller_rule_action_method_name_ - extern f_string_static_t controller_rule_action_method_name(const uint8_t type) f_gcc_attribute_visibility_internal; + extern f_string_static_t controller_rule_action_method_name(const uint8_t type) f_attribute_visibility_internal; #endif // _di_controller_rule_action_method_name_ /** @@ -43,7 +43,7 @@ extern "C" { * F_false on success and rule was not found. */ #ifndef _di_controller_rule_find_ - extern f_status_t controller_rule_find(const f_string_static_t alias, const controller_rules_t rules, f_array_length_t *at) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_find(const f_string_static_t alias, const controller_rules_t rules, f_array_length_t *at) f_attribute_visibility_internal; #endif // _di_controller_rule_find_ /** @@ -76,7 +76,7 @@ extern "C" { * @see f_string_dynamics_increase() */ #ifndef _di_controller_rule_parameters_read_ - extern f_status_t controller_rule_parameters_read(const controller_main_t main, const f_string_static_t buffer, f_fss_object_t *object, f_fss_content_t *content, f_string_dynamics_t *parameters) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_parameters_read(const controller_main_t main, const f_string_static_t buffer, f_fss_object_t *object, f_fss_content_t *content, f_string_dynamics_t *parameters) f_attribute_visibility_internal; #endif // _di_controller_rule_parameters_read_ /** @@ -90,7 +90,7 @@ extern "C" { * The string with used == 0 if no match was found. */ #ifndef _di_controller_rule_action_type_name_ - extern f_string_static_t controller_rule_action_type_name(const uint8_t type) f_gcc_attribute_visibility_internal; + extern f_string_static_t controller_rule_action_type_name(const uint8_t type) f_attribute_visibility_internal; #endif // _di_controller_rule_action_type_name_ /** @@ -110,7 +110,7 @@ extern "C" { * Errors (with error bit) from: f_memory_resize(). */ #ifndef _di_controller_rule_actions_increase_by_ - extern f_status_t controller_rule_actions_increase_by(const f_array_length_t amount, controller_rule_actions_t *actions) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_actions_increase_by(const f_array_length_t amount, controller_rule_actions_t *actions) f_attribute_visibility_internal; #endif // _di_controller_rule_actions_increase_by_ /** @@ -146,7 +146,7 @@ extern "C" { * @see f_fss_count_lines() */ #ifndef _di_controller_rule_action_read_ - extern f_status_t controller_rule_action_read(const controller_main_t main, const uint8_t type, const uint8_t method, controller_cache_t *cache, controller_rule_item_t *item, controller_rule_actions_t *actions, f_string_range_t *range) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_action_read(const controller_main_t main, const uint8_t type, const uint8_t method, controller_cache_t *cache, controller_rule_item_t *item, controller_rule_actions_t *actions, f_string_range_t *range) f_attribute_visibility_internal; #endif // _di_controller_rule_action_read_ /** @@ -179,7 +179,7 @@ extern "C" { * @see f_type_int32s_append() */ #ifndef _di_controller_rule_copy_ - extern f_status_t controller_rule_copy(const controller_rule_t source, controller_rule_t *destination) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_copy(const controller_rule_t source, controller_rule_t *destination) f_attribute_visibility_internal; #endif // _di_controller_rule_copy_ /** @@ -209,7 +209,7 @@ extern "C" { * @see controller_entry_error_print_cache() */ #ifndef _di_controller_rule_error_print_ - extern void controller_rule_error_print(const fll_error_print_t print, const controller_cache_action_t cache, const f_status_t status, const f_string_t function, const bool fallback, const bool item, controller_thread_t *thread) f_gcc_attribute_visibility_internal; + extern void controller_rule_error_print(const fll_error_print_t print, const controller_cache_action_t cache, const f_status_t status, const f_string_t function, const bool fallback, const bool item, controller_thread_t *thread) f_attribute_visibility_internal; #endif // _di_controller_rule_error_print_ /** @@ -234,7 +234,7 @@ extern "C" { * @see controller_rule_setting_read() */ #ifndef _di_controller_rule_error_print_cache_ - extern void controller_rule_error_print_cache(const fll_error_print_t output, const controller_cache_action_t cache, const bool item) f_gcc_attribute_visibility_internal; + extern void controller_rule_error_print_cache(const fll_error_print_t output, const controller_cache_action_t cache, const bool item) f_attribute_visibility_internal; #endif // _di_controller_rule_error_print_cache_ /** @@ -255,7 +255,7 @@ extern "C" { * @see controller_rule_error_print_cache() */ #ifndef _di_controller_rule_item_error_print_ - extern void controller_rule_item_error_print(const fll_error_print_t output, const controller_cache_action_t cache, const bool item, controller_thread_t *thread) f_gcc_attribute_visibility_internal; + extern void controller_rule_item_error_print(const fll_error_print_t output, const controller_cache_action_t cache, const bool item, controller_thread_t *thread) f_attribute_visibility_internal; #endif // _di_controller_rule_item_error_print_ /** @@ -274,7 +274,7 @@ extern "C" { * The status code representing the failure (without the error bit set). */ #ifndef _di_controller_rule_item_error_print_execute_ - extern void controller_rule_item_error_print_execute(const fll_error_print_t print, const bool script_is, const f_string_t name, const int code, const f_status_t status) f_gcc_attribute_visibility_internal; + extern void controller_rule_item_error_print_execute(const fll_error_print_t print, const bool script_is, const f_string_t name, const int code, const f_status_t status) f_attribute_visibility_internal; #endif // _di_controller_rule_item_error_print_execute_ /** @@ -289,7 +289,7 @@ extern "C" { * The code returned by the executed program or script. */ #ifndef _di_controller_rule_item_error_print_execute_not_found_ - extern void controller_rule_item_error_print_execute_not_found(const fll_error_print_t print, const bool script_is, const f_string_t name) f_gcc_attribute_visibility_internal; + extern void controller_rule_item_error_print_execute_not_found(const fll_error_print_t print, const bool script_is, const f_string_t name) f_attribute_visibility_internal; #endif // _di_controller_rule_item_error_print_execute_not_found_ /** @@ -305,7 +305,7 @@ extern "C" { * A short explanation on why this is an error or warning. */ #ifndef _di_controller_rule_item_error_print_need_want_wish_ - extern void controller_rule_item_error_print_need_want_wish(const fll_error_print_t print, const f_string_t need_want_wish, const f_string_t value, const f_string_t why) f_gcc_attribute_visibility_internal; + extern void controller_rule_item_error_print_need_want_wish(const fll_error_print_t print, const f_string_t need_want_wish, const f_string_t value, const f_string_t why) f_attribute_visibility_internal; #endif // _di_controller_rule_item_error_print_need_want_wish_ /** @@ -317,7 +317,7 @@ extern "C" { * The rule alias of the rule that is not loaded. */ #ifndef _di_controller_rule_item_error_print_rule_not_loaded_ - extern void controller_rule_item_error_print_rule_not_loaded(const fll_error_print_t print, const f_string_t alias) f_gcc_attribute_visibility_internal; + extern void controller_rule_item_error_print_rule_not_loaded(const fll_error_print_t print, const f_string_t alias) f_attribute_visibility_internal; #endif // _di_controller_rule_item_error_print_rule_not_loaded_ /** @@ -329,7 +329,7 @@ extern "C" { * The rule alias of the rule that is missing the pid file designation. */ #ifndef _di_controller_rule_action_error_missing_pid_ - extern void controller_rule_action_error_missing_pid(const fll_error_print_t print, const f_string_t alias) f_gcc_attribute_visibility_internal; + extern void controller_rule_action_error_missing_pid(const fll_error_print_t print, const f_string_t alias) f_attribute_visibility_internal; #endif // _di_controller_rule_action_error_missing_pid_ /** @@ -370,7 +370,7 @@ extern "C" { * On failure, the individual status for the rule is set to an appropriate error status. */ #ifndef _di_controller_rule_execute_ - extern f_status_t controller_rule_execute(const uint8_t action, const uint8_t options, const controller_main_t main, controller_process_t *process) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_execute(const uint8_t action, const uint8_t options, const controller_main_t main, controller_process_t *process) f_attribute_visibility_internal; #endif // _di_controller_rule_execute_ /** @@ -415,7 +415,7 @@ extern "C" { * @see fll_execute_program() */ #ifndef _di_controller_rule_execute_foreground_ - extern f_status_t controller_rule_execute_foreground(const uint8_t type, const controller_rule_action_t action, const f_string_t program, const f_string_dynamics_t arguments, const uint8_t options, const controller_main_t main, controller_execute_set_t * const execute_set, controller_process_t *process) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_execute_foreground(const uint8_t type, const controller_rule_action_t action, const f_string_t program, const f_string_dynamics_t arguments, const uint8_t options, const controller_main_t main, controller_execute_set_t * const execute_set, controller_process_t *process) f_attribute_visibility_internal; #endif // _di_controller_rule_execute_foreground_ /** @@ -468,7 +468,7 @@ extern "C" { * @see fll_execute_program() */ #ifndef _di_controller_rule_execute_pid_with_ - extern f_status_t controller_rule_execute_pid_with(const f_string_dynamic_t pid_file, const uint8_t type, const controller_rule_action_t action, const f_string_t program, const f_string_dynamics_t arguments, const uint8_t options, const uint8_t with, const controller_main_t main, controller_execute_set_t * const execute_set, controller_process_t *process) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_execute_pid_with(const f_string_dynamic_t pid_file, const uint8_t type, const controller_rule_action_t action, const f_string_t program, const f_string_dynamics_t arguments, const uint8_t options, const uint8_t with, const controller_main_t main, controller_execute_set_t * const execute_set, controller_process_t *process) f_attribute_visibility_internal; #endif // _di_controller_rule_execute_pid_with_ /** @@ -496,7 +496,7 @@ extern "C" { * @see f_string_dynamic_terminate_after() */ #ifndef _di_controller_rule_id_construct_ - extern f_status_t controller_rule_id_construct(const controller_main_t main, const f_string_static_t source, const f_string_range_t directory, const f_string_range_t basename, f_string_dynamic_t *alias) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_id_construct(const controller_main_t main, const f_string_static_t source, const f_string_range_t directory, const f_string_range_t basename, f_string_dynamic_t *alias) f_attribute_visibility_internal; #endif // _di_controller_rule_id_construct_ /** @@ -514,7 +514,7 @@ extern "C" { * F_false on unavailable. */ #ifndef _di_controller_rule_status_is_available_ - extern f_status_t controller_rule_status_is_available(const uint8_t action, const controller_rule_t rule) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_status_is_available(const uint8_t action, const controller_rule_t rule) f_attribute_visibility_internal; #endif // _di_controller_rule_status_is_available_ /** @@ -532,7 +532,7 @@ extern "C" { * F_false if status does not represent an error. */ #ifndef _di_controller_rule_status_is_error_ - extern f_status_t controller_rule_status_is_error(const uint8_t action, const controller_rule_t rule) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_status_is_error(const uint8_t action, const controller_rule_t rule) f_attribute_visibility_internal; #endif // _di_controller_rule_status_is_error_ /** @@ -560,7 +560,7 @@ extern "C" { * @see f_string_dynamic_terminate_after() */ #ifndef _di_controller_rule_item_read_ - extern f_status_t controller_rule_item_read(const controller_main_t main, controller_cache_t *cache, controller_rule_item_t *item) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_item_read(const controller_main_t main, controller_cache_t *cache, controller_rule_item_t *item) f_attribute_visibility_internal; #endif // _di_controller_rule_item_read_ /** @@ -574,7 +574,7 @@ extern "C" { * The string with used == 0 if no match was found. */ #ifndef _di_controller_rule_item_type_name_ - extern f_string_static_t controller_rule_item_type_name(const uint8_t type) f_gcc_attribute_visibility_internal; + extern f_string_static_t controller_rule_item_type_name(const uint8_t type) f_attribute_visibility_internal; #endif // _di_controller_rule_item_type_name_ /** @@ -596,7 +596,7 @@ extern "C" { * @see f_memory_resize() */ #ifndef _di_controller_rule_items_increase_by_ - extern f_status_t controller_rule_items_increase_by(const f_array_length_t amount, controller_rule_items_t *items) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_items_increase_by(const f_array_length_t amount, controller_rule_items_t *items) f_attribute_visibility_internal; #endif // _di_controller_rule_items_increase_by_ /** @@ -610,7 +610,7 @@ extern "C" { * The string with used == 0 if no match was found. */ #ifndef _di_controller_rule_setting_limit_type_name_ - extern f_string_static_t controller_rule_setting_limit_type_name(const uint8_t type) f_gcc_attribute_visibility_internal; + extern f_string_static_t controller_rule_setting_limit_type_name(const uint8_t type) f_attribute_visibility_internal; #endif // di_controller_rule_setting_limit_type_name_ /** @@ -642,7 +642,7 @@ extern "C" { * Errors (with error bit) from: controller_lock_write(). */ #ifndef _di_controller_rule_process_ - extern f_status_t controller_rule_process(const controller_main_t main, controller_process_t *process) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_process(const controller_main_t main, controller_process_t *process) f_attribute_visibility_internal; #endif // _di_controller_rule_process_ /** @@ -688,7 +688,7 @@ extern "C" { * @see f_thread_create() */ #ifndef _di_controller_rule_process_begin_ - extern f_status_t controller_rule_process_begin(const uint8_t options_force, const f_string_static_t alias_rule, const uint8_t action, const uint8_t options, const uint8_t type, const f_array_lengths_t stack, const controller_main_t main, const controller_cache_t cache) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_process_begin(const uint8_t options_force, const f_string_static_t alias_rule, const uint8_t action, const uint8_t options, const uint8_t type, const f_array_lengths_t stack, const controller_main_t main, const controller_cache_t cache) f_attribute_visibility_internal; #endif // _di_controller_rule_process_begin_ /** @@ -723,7 +723,7 @@ extern "C" { * @see controller_rule_process_begin() */ #ifndef _di_controller_rule_process_do_ - extern f_status_t controller_rule_process_do(const uint8_t options_force, controller_process_t *process) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_process_do(const uint8_t options_force, controller_process_t *process) f_attribute_visibility_internal; #endif // _di_controller_rule_process_do_ /** @@ -761,7 +761,7 @@ extern "C" { * @see fll_fss_basic_list_read(). */ #ifndef _di_controller_rule_read_ - extern f_status_t controller_rule_read(const bool is_normal, const f_string_static_t alias, controller_main_t main, controller_cache_t *cache, controller_rule_t *rule) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_read(const bool is_normal, const f_string_static_t alias, controller_main_t main, controller_cache_t *cache, controller_rule_t *rule) f_attribute_visibility_internal; #endif // _di_controller_rule_read_ /** @@ -800,7 +800,7 @@ extern "C" { * @see fll_path_canonical() */ #ifndef _di_controller_rule_setting_read_ - extern f_status_t controller_rule_setting_read(const controller_main_t main, const controller_setting_t setting, controller_cache_t *cache, controller_rule_t *rule) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_setting_read(const controller_main_t main, const controller_setting_t setting, controller_cache_t *cache, controller_rule_t *rule) f_attribute_visibility_internal; #endif // _di_controller_rule_setting_read_ /** @@ -825,7 +825,7 @@ extern "C" { * A structure for containing and caching relevant data. */ #ifndef _di_controller_rule_validate_ - extern void controller_rule_validate(const controller_rule_t rule, const uint8_t action, const uint8_t options, const controller_main_t main, controller_cache_t *cache) f_gcc_attribute_visibility_internal; + extern void controller_rule_validate(const controller_rule_t rule, const uint8_t action, const uint8_t options, const controller_main_t main, controller_cache_t *cache) f_attribute_visibility_internal; #endif // _di_controller_rule_validate_ /** @@ -854,7 +854,7 @@ extern "C" { * F_require (with error bit set) if a required process is in failed status when required is TRUE. */ #ifndef _di_controller_rule_wait_all_ - extern f_status_t controller_rule_wait_all(const bool is_normal, const controller_main_t main, const bool required, controller_process_t *process) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_wait_all(const bool is_normal, const controller_main_t main, const bool required, controller_process_t *process) f_attribute_visibility_internal; #endif // _di_controller_rule_wait_all_ /** @@ -881,7 +881,7 @@ extern "C" { * @see controller_rule_wait_all() */ #ifndef _di_controller_rule_wait_all_process_type_ - extern f_status_t controller_rule_wait_all_process_type(const uint8_t type, const controller_main_t main, const bool required, controller_process_t *caller) f_gcc_attribute_visibility_internal; + extern f_status_t controller_rule_wait_all_process_type(const uint8_t type, const controller_main_t main, const bool required, controller_process_t *caller) f_attribute_visibility_internal; #endif // _di_controller_rule_wait_all_process_type_ #ifdef __cplusplus diff --git a/level_3/controller/c/private-thread.h b/level_3/controller/c/private-thread.h index 93f6508..bb308ab 100644 --- a/level_3/controller/c/private-thread.h +++ b/level_3/controller/c/private-thread.h @@ -23,7 +23,7 @@ extern "C" { * 0, always. */ #ifndef _di_controller_thread_cleanup_ - extern void * controller_thread_cleanup(void *arguments) f_gcc_attribute_visibility_internal; + extern void * controller_thread_cleanup(void *arguments) f_attribute_visibility_internal; #endif // _di_controller_thread_cleanup_ /** @@ -37,7 +37,7 @@ extern "C" { * 0, always. */ #ifndef _di_controller_thread_control_ - extern void * controller_thread_control(void *arguments) f_gcc_attribute_visibility_internal; + extern void * controller_thread_control(void *arguments) f_attribute_visibility_internal; #endif // _di_controller_thread_control_ /** @@ -54,7 +54,7 @@ extern "C" { * FALSE when disabled. */ #ifndef _di_controller_thread_is_enabled_ - extern f_status_t controller_thread_is_enabled(const bool is_normal, controller_thread_t *thread) f_gcc_attribute_visibility_internal; + extern f_status_t controller_thread_is_enabled(const bool is_normal, controller_thread_t *thread) f_attribute_visibility_internal; #endif // _di_controller_thread_is_enabled_ /** @@ -72,7 +72,7 @@ extern "C" { * @see controller_thread_is_enabled_process_type() */ #ifndef _di_controller_thread_is_enabled_process_ - extern f_status_t controller_thread_is_enabled_process(controller_process_t * const process, controller_thread_t *thread) f_gcc_attribute_visibility_internal; + extern f_status_t controller_thread_is_enabled_process(controller_process_t * const process, controller_thread_t *thread) f_attribute_visibility_internal; #endif // _di_controller_thread_is_enabled_process_ /** @@ -90,7 +90,7 @@ extern "C" { * @see controller_thread_is_enabled() */ #ifndef _di_controller_thread_is_enabled_process_type_ - extern f_status_t controller_thread_is_enabled_process_type(const uint8_t type, controller_thread_t *thread) f_gcc_attribute_visibility_internal; + extern f_status_t controller_thread_is_enabled_process_type(const uint8_t type, controller_thread_t *thread) f_attribute_visibility_internal; #endif // _di_controller_thread_is_enabled_process_type_ /** @@ -109,7 +109,7 @@ extern "C" { * F_failure (with error bit) on any failure. */ #ifndef _di_controller_thread_main_ - extern f_status_t controller_thread_main(controller_data_t *data, controller_setting_t *setting) f_gcc_attribute_visibility_internal; + extern f_status_t controller_thread_main(controller_data_t *data, controller_setting_t *setting) f_attribute_visibility_internal; #endif // _di_controller_thread_main_ /** @@ -124,7 +124,7 @@ extern "C" { * @see controller_rule_process_do() */ #ifndef _di_controller_thread_process_ - extern void controller_thread_process(const bool is_normal, controller_process_t *process) f_gcc_attribute_visibility_internal; + extern void controller_thread_process(const bool is_normal, controller_process_t *process) f_attribute_visibility_internal; #endif // _di_controller_thread_process_ /** @@ -140,7 +140,7 @@ extern "C" { * @see controller_thread_process() */ #ifndef _di_controller_thread_process_normal_ - extern void * controller_thread_process_normal(void *arguments) f_gcc_attribute_visibility_internal; + extern void * controller_thread_process_normal(void *arguments) f_attribute_visibility_internal; #endif // _di_controller_thread_process_normal_ /** @@ -156,7 +156,7 @@ extern "C" { * @see controller_thread_process() */ #ifndef _di_controller_thread_process_other_ - extern void * controller_thread_process_other(void *arguments) f_gcc_attribute_visibility_internal; + extern void * controller_thread_process_other(void *arguments) f_attribute_visibility_internal; #endif // _di_controller_thread_process_other_ /** @@ -178,7 +178,7 @@ extern "C" { * Set to NULL to not use. */ #ifndef _di_controller_thread_process_cancel_ - extern void controller_thread_process_cancel(const bool is_normal, const uint8_t by, controller_main_t *main, controller_process_t *caller) f_gcc_attribute_visibility_internal; + extern void controller_thread_process_cancel(const bool is_normal, const uint8_t by, controller_main_t *main, controller_process_t *caller) f_attribute_visibility_internal; #endif // _di_controller_thread_process_cancel_ /** @@ -188,7 +188,7 @@ extern "C" { * The main thread data. */ #ifndef _di_controller_thread_process_exit_ - extern void controller_thread_process_exit(controller_main_t *main) f_gcc_attribute_visibility_internal; + extern void controller_thread_process_exit(controller_main_t *main) f_attribute_visibility_internal; #endif // _di_controller_thread_process_exit_ /** @@ -205,7 +205,7 @@ extern "C" { * 0, always. */ #ifndef _di_controller_thread_entry_ - extern void * controller_thread_entry(void *arguments) f_gcc_attribute_visibility_internal; + extern void * controller_thread_entry(void *arguments) f_attribute_visibility_internal; #endif // _di_controller_thread_entry_ /** @@ -225,7 +225,7 @@ extern "C" { * 0, always. */ #ifndef _di_controller_thread_exit_ - extern void * controller_thread_exit(void *arguments) f_gcc_attribute_visibility_internal; + extern void * controller_thread_exit(void *arguments) f_attribute_visibility_internal; #endif // _di_controller_thread_exit_ /*** @@ -246,7 +246,7 @@ extern "C" { * @see f_thread_join() */ #ifndef _di_controller_thread_join_ - extern f_status_t controller_thread_join(f_thread_id_t *id) f_gcc_attribute_visibility_internal; + extern f_status_t controller_thread_join(f_thread_id_t *id) f_attribute_visibility_internal; #endif // _di_controller_thread_join_ /** @@ -266,7 +266,7 @@ extern "C" { * 0, always. */ #ifndef _di_controller_thread_rule_ - extern void * controller_thread_rule(void *arguments) f_gcc_attribute_visibility_internal; + extern void * controller_thread_rule(void *arguments) f_attribute_visibility_internal; #endif // _di_controller_thread_rule_ /** @@ -281,7 +281,7 @@ extern "C" { * The main data. */ #ifndef _di_controller_thread_signal_ - extern void controller_thread_signal(const bool is_normal, controller_main_t *main) f_gcc_attribute_visibility_internal; + extern void controller_thread_signal(const bool is_normal, controller_main_t *main) f_attribute_visibility_internal; #endif // _di_controller_thread_signal_ /** @@ -299,7 +299,7 @@ extern "C" { * @see controller_thread_signal() */ #ifndef _di_controller_thread_signal_normal_ - extern void * controller_thread_signal_normal(void *arguments) f_gcc_attribute_visibility_internal; + extern void * controller_thread_signal_normal(void *arguments) f_attribute_visibility_internal; #endif // _di_controller_thread_signal_normal_ /** @@ -317,7 +317,7 @@ extern "C" { * @see controller_thread_signal() */ #ifndef _di_controller_thread_signal_other_ - extern void * controller_thread_signal_other(void *arguments) f_gcc_attribute_visibility_internal; + extern void * controller_thread_signal_other(void *arguments) f_attribute_visibility_internal; #endif // _di_controller_thread_signal_other_ #ifdef __cplusplus diff --git a/level_3/controller/data/build/settings b/level_3/controller/data/build/settings index 599a0e5..bdbcb4f 100644 --- a/level_3/controller/data/build/settings +++ b/level_3/controller/data/build/settings @@ -51,7 +51,7 @@ defines_all -D_libcap_legacy_only_ defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always -pthread +flags_all -z now -g -fdiagnostics-color=always -pthread -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/fake/c/main.c b/level_3/fake/c/main.c index 36b02bb..b4f1804 100644 --- a/level_3/fake/c/main.c +++ b/level_3/fake/c/main.c @@ -14,7 +14,7 @@ * * @see exit() */ -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; fake_data_t data = fake_data_t_initialize; f_status_t status = F_none; diff --git a/level_3/fake/c/private-build.h b/level_3/fake/c/private-build.h index cab277a..133bd20 100644 --- a/level_3/fake/c/private-build.h +++ b/level_3/fake/c/private-build.h @@ -406,7 +406,7 @@ extern "C" { * @see fll_execute_arguments_add() */ #ifndef _di_fake_build_arguments_standard_add_ - extern void fake_build_arguments_standard_add(const fake_data_t data, const fake_build_data_t data_build, const bool is_shared, const bool is_library, f_string_dynamics_t *arguments, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_build_arguments_standard_add(const fake_data_t data, const fake_build_data_t data_build, const bool is_shared, const bool is_library, f_string_dynamics_t *arguments, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_arguments_standard_add_ /** @@ -444,7 +444,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_build_copy_ - extern void fake_build_copy(const fake_data_t data, const f_mode_t mode, const f_string_t label, const f_string_static_t source, const f_string_static_t destination, const f_string_statics_t files, const f_string_static_t file_stage, const f_array_length_t preserve, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_build_copy(const fake_data_t data, const f_mode_t mode, const f_string_t label, const f_string_static_t source, const f_string_static_t destination, const f_string_statics_t files, const f_string_static_t file_stage, const f_array_length_t preserve, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_copy_ /** @@ -467,7 +467,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_build_skeleton_ - extern void fake_build_skeleton(const fake_data_t data, const fake_build_data_t data_build, const mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_build_skeleton(const fake_data_t data, const fake_build_data_t data_build, const mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_skeleton_ /** @@ -492,7 +492,7 @@ extern "C" { * This generally is only needed when F_child is returned, where this holds the return status of the child process. */ #ifndef _di_fake_build_execute_process_script_ - extern int fake_build_execute_process_script(const fake_data_t data, const fake_build_data_t data_build, const f_string_static_t process_script, const f_string_static_t file_stage, f_status_t *status) f_gcc_attribute_visibility_internal; + extern int fake_build_execute_process_script(const fake_data_t data, const fake_build_data_t data_build, const f_string_static_t process_script, const f_string_static_t file_stage, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_execute_process_script_ /** @@ -535,7 +535,7 @@ extern "C" { * This generally is only needed when F_child is returned, where this holds the return status of the child process. */ #ifndef _di_fake_build_libraries_script_ - extern int fake_build_libraries_script(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_gcc_attribute_visibility_internal; + extern int fake_build_libraries_script(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_libraries_script_ /** @@ -559,7 +559,7 @@ extern "C" { * This generally is only needed when F_child is returned, where this holds the return status of the child process. */ #ifndef _di_fake_build_library_shared_ - extern int fake_build_library_shared(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_gcc_attribute_visibility_internal; + extern int fake_build_library_shared(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_library_shared_ /** @@ -583,7 +583,7 @@ extern "C" { * This generally is only needed when F_child is returned, where this holds the return status of the child process. */ #ifndef _di_fake_build_library_static_ - extern int fake_build_library_static(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_gcc_attribute_visibility_internal; + extern int fake_build_library_static(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_library_static_ /** @@ -606,7 +606,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_build_load_setting_ - extern void fake_build_load_setting(const fake_data_t data, const f_string_static_t setting_file, fake_build_setting_t *setting, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_build_load_setting(const fake_data_t data, const f_string_static_t setting_file, fake_build_setting_t *setting, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_load_setting_ /** @@ -630,7 +630,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_build_load_setting_defaults_ - extern void fake_build_load_setting_defaults(const fake_data_t data, fake_build_setting_t *setting, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_build_load_setting_defaults(const fake_data_t data, fake_build_setting_t *setting, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_load_setting_defaults_ /** @@ -658,7 +658,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_build_load_setting_process_ - extern void fake_build_load_setting_process(const fake_data_t data, const f_string_t path_file, const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, fake_build_setting_t *setting, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_build_load_setting_process(const fake_data_t data, const f_string_t path_file, const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, fake_build_setting_t *setting, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_load_setting_process_ /** @@ -679,7 +679,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_build_load_environment_ - extern void fake_build_load_environment(const fake_data_t data, const fake_build_data_t data_build, f_string_maps_t *environment, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_build_load_environment(const fake_data_t data, const fake_build_data_t data_build, f_string_maps_t *environment, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_load_environment_ /** @@ -700,7 +700,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_build_load_stage_ - extern void fake_build_load_stage(const fake_data_t data, const f_string_static_t settings_file, fake_build_stage_t *stage, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_build_load_stage(const fake_data_t data, const f_string_static_t settings_file, fake_build_stage_t *stage, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_load_stage_ /** @@ -724,7 +724,7 @@ extern "C" { * This generally is only needed when F_child is returned, where this holds the return status of the child process. */ #ifndef _di_fake_build_objects_static_ - extern int fake_build_objects_static(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_gcc_attribute_visibility_internal; + extern int fake_build_objects_static(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_objects_static_ /** @@ -742,7 +742,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_build_operate_ - extern f_status_t fake_build_operate(const f_string_static_t setting_file, fake_data_t *data) f_gcc_attribute_visibility_internal; + extern f_status_t fake_build_operate(const f_string_static_t setting_file, fake_data_t *data) f_attribute_visibility_internal; #endif // _di_fake_build_operate_ /** @@ -766,7 +766,7 @@ extern "C" { * This generally is only needed when F_child is returned, where this holds the return status of the child process. */ #ifndef _di_fake_build_programs_script_ - extern int fake_build_programs_script(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_gcc_attribute_visibility_internal; + extern int fake_build_programs_script(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_programs_script_ /** @@ -790,7 +790,7 @@ extern "C" { * This generally is only needed when F_child is returned, where this holds the return status of the child process. */ #ifndef _di_fake_build_program_shared_ - extern int fake_build_program_shared(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_gcc_attribute_visibility_internal; + extern int fake_build_program_shared(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_program_shared_ /** @@ -814,7 +814,7 @@ extern "C" { * This generally is only needed when F_child is returned, where this holds the return status of the child process. */ #ifndef _di_fake_build_program_static_ - extern int fake_build_program_static(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_gcc_attribute_visibility_internal; + extern int fake_build_program_static(const fake_data_t data, const fake_build_data_t data_build, const f_mode_t mode, const f_string_static_t file_stage, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_program_static_ /** @@ -830,7 +830,7 @@ extern "C" { * @see f_file_touch() */ #ifndef _di_fake_build_touch_ - extern void fake_build_touch(const fake_data_t data, const f_string_dynamic_t file, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_build_touch(const fake_data_t data, const f_string_dynamic_t file, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_build_touch_ #ifdef __cplusplus diff --git a/level_3/fake/c/private-clean.h b/level_3/fake/c/private-clean.h index aef5541..e4b4994 100644 --- a/level_3/fake/c/private-clean.h +++ b/level_3/fake/c/private-clean.h @@ -24,7 +24,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_clean_operate_ - extern f_status_t fake_clean_operate(const fake_data_t data) f_gcc_attribute_visibility_internal; + extern f_status_t fake_clean_operate(const fake_data_t data) f_attribute_visibility_internal; #endif // _di_fake_clean_operate_ /** @@ -53,7 +53,7 @@ extern "C" { * @see remove() */ #if !defined(_di_fake_clean_operate_) - extern int fake_clean_remove_recursively_verbosely(const char *path, const struct stat *file_stat, int type, struct FTW *entity) f_gcc_attribute_visibility_internal; + extern int fake_clean_remove_recursively_verbosely(const char *path, const struct stat *file_stat, int type, struct FTW *entity) f_attribute_visibility_internal; #endif // !defined(_di_fake_clean_operate_) #ifdef __cplusplus diff --git a/level_3/fake/c/private-fake.h b/level_3/fake/c/private-fake.h index 0894af6..1c18b04 100644 --- a/level_3/fake/c/private-fake.h +++ b/level_3/fake/c/private-fake.h @@ -43,7 +43,7 @@ extern "C" { * A value of 1 is returned if status has the error bit set. */ #ifndef _di_fake_execute_ - extern int fake_execute(const fake_data_t data, const f_string_maps_t environment, const f_string_static_t program, const f_string_statics_t arguments, f_status_t *status) f_gcc_attribute_visibility_internal; + extern int fake_execute(const fake_data_t data, const f_string_maps_t environment, const f_string_static_t program, const f_string_statics_t arguments, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_execute_ /** @@ -62,7 +62,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_file_buffer_ - extern f_status_t fake_file_buffer(const fake_data_t data, const f_string_t path_file, f_string_dynamic_t *buffer) f_gcc_attribute_visibility_internal; + extern f_status_t fake_file_buffer(const fake_data_t data, const f_string_t path_file, f_string_dynamic_t *buffer) f_attribute_visibility_internal; #endif // _di_fake_file_buffer_ /** @@ -77,7 +77,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_path_generate_ - extern f_status_t fake_path_generate(fake_data_t *data) f_gcc_attribute_visibility_internal; + extern f_status_t fake_path_generate(fake_data_t *data) f_attribute_visibility_internal; #endif // _di_fake_path_generate_ /** @@ -98,7 +98,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_path_generate_string_dynamic_ - extern f_status_t fake_path_generate_string_dynamic(fake_data_t *data, const f_string_dynamic_t source, f_string_dynamic_t *destination[], const uint8_t size) f_gcc_attribute_visibility_internal; + extern f_status_t fake_path_generate_string_dynamic(fake_data_t *data, const f_string_dynamic_t source, f_string_dynamic_t *destination[], const uint8_t size) f_attribute_visibility_internal; #endif // _di_fake_path_generate_string_dynamic_ /** @@ -115,7 +115,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_process_console_parameters_ - extern f_status_t fake_process_console_parameters(const f_console_arguments_t arguments, fake_data_t *data) f_gcc_attribute_visibility_internal; + extern f_status_t fake_process_console_parameters(const f_console_arguments_t arguments, fake_data_t *data) f_attribute_visibility_internal; #endif // _di_validate_console_parameters_ /** @@ -131,7 +131,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_signal_read_ - extern f_status_t fake_signal_received(const fake_data_t data) f_gcc_attribute_visibility_internal; + extern f_status_t fake_signal_received(const fake_data_t data) f_attribute_visibility_internal; #endif // _di_fake_signal_read_ /** @@ -150,7 +150,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_validate_parameter_directories_ - extern f_status_t fake_validate_parameter_directories(const f_console_arguments_t arguments, const fake_data_t data) f_gcc_attribute_visibility_internal; + extern f_status_t fake_validate_parameter_directories(const f_console_arguments_t arguments, const fake_data_t data) f_attribute_visibility_internal; #endif // _di_fake_validate_parameter_directories_ /** @@ -164,7 +164,7 @@ extern "C" { * The destination string. */ #ifndef _di_fake_verbose_print_clone_ - extern void fake_verbose_print_clone(const f_file_t output, const f_string_t source, const f_string_t destination) f_gcc_attribute_visibility_internal; + extern void fake_verbose_print_clone(const f_file_t output, const f_string_t source, const f_string_t destination) f_attribute_visibility_internal; #endif // _di_fake_verbose_print_clone_ /** @@ -178,7 +178,7 @@ extern "C" { * The destination string. */ #ifndef _di_fake_verbose_print_copy_ - extern void fake_verbose_print_copy(const f_file_t output, const f_string_t source, const f_string_t destination) f_gcc_attribute_visibility_internal; + extern void fake_verbose_print_copy(const f_file_t output, const f_string_t source, const f_string_t destination) f_attribute_visibility_internal; #endif // _di_fake_verbose_print_copy_ /** @@ -192,7 +192,7 @@ extern "C" { * The destination string. */ #ifndef _di_fake_verbose_print_move_ - extern void fake_verbose_print_move(const f_file_t output, const f_string_t source, const f_string_t destination) f_gcc_attribute_visibility_internal; + extern void fake_verbose_print_move(const f_file_t output, const f_string_t source, const f_string_t destination) f_attribute_visibility_internal; #endif // _di_fake_verbose_print_move_ #ifdef __cplusplus diff --git a/level_3/fake/c/private-make.c b/level_3/fake/c/private-make.c index dd74e8c..7f21923 100644 --- a/level_3/fake/c/private-make.c +++ b/level_3/fake/c/private-make.c @@ -3596,7 +3596,7 @@ extern "C" { f_print_dynamic(data->output.stream, arguments.array[i]); if (i + 1 < arguments.used) { - fprintf(data->output.stream, f_string_space_s); + fprintf(data->output.stream, "%s", f_string_space_s); } } // for diff --git a/level_3/fake/c/private-make.h b/level_3/fake/c/private-make.h index 6117754..bf74540 100644 --- a/level_3/fake/c/private-make.h +++ b/level_3/fake/c/private-make.h @@ -410,7 +410,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_assure_inside_project_ - extern f_status_t fake_make_assure_inside_project(const fake_data_t data, const f_string_static_t path, fake_make_data_t *data_make) f_gcc_attribute_visibility_internal; + extern f_status_t fake_make_assure_inside_project(const fake_data_t data, const f_string_static_t path, fake_make_data_t *data_make) f_attribute_visibility_internal; #endif // _di_fake_make_assure_inside_project_ /** @@ -432,7 +432,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_get_id_group_ - f_status_t fake_make_get_id_group(const fake_data_t data, const fll_error_print_t error, const f_string_static_t buffer, gid_t *id) f_gcc_attribute_visibility_internal; + f_status_t fake_make_get_id_group(const fake_data_t data, const fll_error_print_t error, const f_string_static_t buffer, gid_t *id) f_attribute_visibility_internal; #endif // _di_fake_make_get_id_group_ /** @@ -458,7 +458,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_get_id_mode_ - f_status_t fake_make_get_id_mode(const fake_data_t data, const fll_error_print_t error, const f_string_static_t buffer, f_file_mode_t *mode, uint8_t *replace) f_gcc_attribute_visibility_internal; + f_status_t fake_make_get_id_mode(const fake_data_t data, const fll_error_print_t error, const f_string_static_t buffer, f_file_mode_t *mode, uint8_t *replace) f_attribute_visibility_internal; #endif // _di_fake_make_get_id_mode_ /** @@ -480,7 +480,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_get_id_owner_ - f_status_t fake_make_get_id_owner(const fake_data_t data, const fll_error_print_t error, const f_string_static_t buffer, uid_t *id) f_gcc_attribute_visibility_internal; + f_status_t fake_make_get_id_owner(const fake_data_t data, const fll_error_print_t error, const f_string_static_t buffer, uid_t *id) f_attribute_visibility_internal; #endif // _di_fake_make_get_id_owner_ /** @@ -502,7 +502,7 @@ extern "C" { * @see fake_build_load_setting() */ #ifndef _di_fake_make_load_fakefile_ - extern void fake_make_load_fakefile(const fake_data_t data, fake_make_data_t *data_make, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_make_load_fakefile(const fake_data_t data, fake_make_data_t *data_make, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_make_load_fakefile_ /** @@ -520,7 +520,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_load_parameters_ - extern void fake_make_load_parameters(const fake_data_t data, fake_make_data_t *data_make, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_make_load_parameters(const fake_data_t data, fake_make_data_t *data_make, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_make_load_parameters_ /** @@ -538,7 +538,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_operate_ - extern f_status_t fake_make_operate(fake_data_t *data) f_gcc_attribute_visibility_internal; + extern f_status_t fake_make_operate(fake_data_t *data) f_attribute_visibility_internal; #endif // _di_fake_make_operate_ /** @@ -568,7 +568,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_operate_expand_ - extern void fake_make_operate_expand(const fake_data_t data, const f_string_range_t section_name, const f_array_length_t operation, const f_string_static_t operation_name, const f_fss_content_t content, const f_fss_quotes_t quoteds, fake_make_data_t *data_make, f_string_dynamics_t *arguments, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_make_operate_expand(const fake_data_t data, const f_string_range_t section_name, const f_array_length_t operation, const f_string_static_t operation_name, const f_fss_content_t content, const f_fss_quotes_t quoteds, fake_make_data_t *data_make, f_string_dynamics_t *arguments, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_make_operate_expand_ /** @@ -592,7 +592,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_operate_expand_environment_ - extern f_status_t fake_make_operate_expand_environment(const fake_data_t data, const f_fss_quote_t quoted, const f_string_range_t range_name, fake_make_data_t *data_make, f_string_dynamics_t *arguments) f_gcc_attribute_visibility_internal; + extern f_status_t fake_make_operate_expand_environment(const fake_data_t data, const f_fss_quote_t quoted, const f_string_range_t range_name, fake_make_data_t *data_make, f_string_dynamics_t *arguments) f_attribute_visibility_internal; #endif // _di_fake_make_operate_expand_environment_ /** @@ -616,7 +616,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_operate_expand_build_ - extern f_status_t fake_make_operate_expand_build(const fake_data_t data, const f_fss_quote_t quoted, const f_string_range_t range_name, fake_make_data_t *data_make, f_string_dynamics_t *arguments) f_gcc_attribute_visibility_internal; + extern f_status_t fake_make_operate_expand_build(const fake_data_t data, const f_fss_quote_t quoted, const f_string_range_t range_name, fake_make_data_t *data_make, f_string_dynamics_t *arguments) f_attribute_visibility_internal; #endif // _di_fake_make_operate_expand_build_ /** @@ -642,7 +642,7 @@ extern "C" { * This generally is only needed when F_child is returned, where this holds the return status of the child process. */ #ifndef _di_fake_make_operate_section_ - int fake_make_operate_section(const f_array_length_t id_section, fake_data_t *data, fake_make_data_t *data_make, f_array_lengths_t *section_stack, f_status_t *status) f_gcc_attribute_visibility_internal; + int fake_make_operate_section(const f_array_length_t id_section, fake_data_t *data, fake_make_data_t *data_make, f_array_lengths_t *section_stack, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_make_operate_section_ /** @@ -676,7 +676,7 @@ extern "C" { * This generally is only needed when F_child is returned, where this holds the return status of the child process. */ #ifndef _di_fake_make_operate_process_ - extern int fake_make_operate_process(const f_string_range_t section_name, const uint8_t operation, const f_string_static_t operation_name, const f_string_dynamics_t arguments, const bool success, uint8_t *operation_if, fake_data_t *data, fake_make_data_t *data_make, f_array_lengths_t *section_stack, f_status_t *status) f_gcc_attribute_visibility_internal; + extern int fake_make_operate_process(const f_string_range_t section_name, const uint8_t operation, const f_string_static_t operation_name, const f_string_dynamics_t arguments, const bool success, uint8_t *operation_if, fake_data_t *data, fake_make_data_t *data_make, f_array_lengths_t *section_stack, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_make_operate_process_ /** @@ -698,7 +698,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_operate_process_execute_ - extern f_status_t fake_make_operate_process_execute(const fake_data_t data, const f_string_static_t program, const f_string_statics_t arguments, const bool as_shell, fake_make_data_t *data_make) f_gcc_attribute_visibility_internal; + extern f_status_t fake_make_operate_process_execute(const fake_data_t data, const f_string_static_t program, const f_string_statics_t arguments, const bool as_shell, fake_make_data_t *data_make) f_attribute_visibility_internal; #endif // _di_fake_make_operate_process_execute_ /** @@ -716,7 +716,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_operate_process_return_ - extern void fake_make_operate_process_return(const fake_data_t data, const int return_code, fake_make_data_t *data_make, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_make_operate_process_return(const fake_data_t data, const int return_code, fake_make_data_t *data_make, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_make_operate_process_return_ /** @@ -736,7 +736,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_operate_process_run_ - extern f_status_t fake_make_operate_process_run(const fake_data_t data, const f_string_statics_t arguments, const bool as_shell, fake_make_data_t *data_make) f_gcc_attribute_visibility_internal; + extern f_status_t fake_make_operate_process_run(const fake_data_t data, const f_string_statics_t arguments, const bool as_shell, fake_make_data_t *data_make) f_attribute_visibility_internal; #endif // _di_fake_make_operate_process_run_ /** @@ -767,7 +767,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_operate_validate_ - extern void fake_make_operate_validate(const fake_data_t data, const f_string_range_t section_name, const f_array_length_t operation, const f_string_static_t operation_name, const f_string_dynamics_t arguments, uint8_t *operation_if, fake_make_data_t *data_make, f_array_lengths_t *section_stack, f_status_t *status) f_gcc_attribute_visibility_internal; + extern void fake_make_operate_validate(const fake_data_t data, const f_string_range_t section_name, const f_array_length_t operation, const f_string_static_t operation_name, const f_string_dynamics_t arguments, uint8_t *operation_if, fake_make_data_t *data_make, f_array_lengths_t *section_stack, f_status_t *status) f_attribute_visibility_internal; #endif // _di_fake_make_operate_validate_ /** @@ -788,7 +788,7 @@ extern "C" { * F_none if there is no string to validate (used = 0). */ #ifndef _di_fake_make_operate_validate_define_name_ - extern f_status_t fake_make_operate_validate_define_name(const f_string_static_t name) f_gcc_attribute_visibility_internal; + extern f_status_t fake_make_operate_validate_define_name(const f_string_static_t name) f_attribute_visibility_internal; #endif // _di_fake_make_operate_validate_define_name_ /** @@ -806,7 +806,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_make_path_relative_ - extern f_status_t fake_make_path_relative(const fake_data_t data, const f_string_static_t path, fake_make_data_t *data_make) f_gcc_attribute_visibility_internal; + extern f_status_t fake_make_path_relative(const fake_data_t data, const f_string_static_t path, fake_make_data_t *data_make) f_attribute_visibility_internal; #endif // _di_fake_make_path_relative_ #ifdef __cplusplus diff --git a/level_3/fake/c/private-print.h b/level_3/fake/c/private-print.h index aea88d2..fe01ba5 100644 --- a/level_3/fake/c/private-print.h +++ b/level_3/fake/c/private-print.h @@ -41,7 +41,7 @@ extern "C" { * F_false is returned on successful print of known errors. */ #ifndef _di_fake_print_error_operation_file_ - extern bool fake_print_error_build_operation_file(const fake_data_t data, const f_status_t status, const f_string_t function, const f_string_t operation, const f_string_t source, const f_string_t destination, const f_string_t how, const bool fallback) f_gcc_attribute_visibility_internal; + extern bool fake_print_error_build_operation_file(const fake_data_t data, const f_status_t status, const f_string_t function, const f_string_t operation, const f_string_t source, const f_string_t destination, const f_string_t how, const bool fallback) f_attribute_visibility_internal; #endif // _di_fake_print_error_operation_file_ /** @@ -65,7 +65,7 @@ extern "C" { * F_false is returned on successful print of known errors. */ #ifndef _di_fake_print_error_fss_ - extern bool fake_print_error_fss(const fake_data_t data, const f_status_t status, const f_string_t function, const f_string_t path_file, const f_string_range_t range, const bool fallback) f_gcc_attribute_visibility_internal; + extern bool fake_print_error_fss(const fake_data_t data, const f_status_t status, const f_string_t function, const f_string_t path_file, const f_string_range_t range, const bool fallback) f_attribute_visibility_internal; #endif // _di_fake_print_error_fss_ /** @@ -77,7 +77,7 @@ extern "C" { * The parameter name. */ #ifndef _di_fake_print_error_parameter_missing_value_ - extern void fake_print_error_parameter_missing_value(const fake_data_t data, const f_string_t parameter) f_gcc_attribute_visibility_internal; + extern void fake_print_error_parameter_missing_value(const fake_data_t data, const f_string_t parameter) f_attribute_visibility_internal; #endif // _di_fake_print_error_parameter_missing_value_ /** @@ -89,7 +89,7 @@ extern "C" { * The parameter name. */ #ifndef _di_fake_print_error_parameter_too_many_ - extern void fake_print_error_parameter_too_many(const fake_data_t data, const f_string_t parameter) f_gcc_attribute_visibility_internal; + extern void fake_print_error_parameter_too_many(const fake_data_t data, const f_string_t parameter) f_attribute_visibility_internal; #endif // _di_fake_print_error_parameter_too_many_ /** @@ -107,7 +107,7 @@ extern "C" { * The range within the buffer representing the operation name within the section. */ #ifndef _di_fake_print_message_section_operation_failed_ - extern void fake_print_message_section_operation_failed(const fake_data_t data, const fll_error_print_t error, const f_string_static_t buffer, const f_string_range_t section_name, const f_string_range_t operation_name) f_gcc_attribute_visibility_internal; + extern void fake_print_message_section_operation_failed(const fake_data_t data, const fll_error_print_t error, const f_string_static_t buffer, const f_string_range_t section_name, const f_string_range_t operation_name) f_attribute_visibility_internal; #endif // _di_fake_print_message_section_operation_failed_ /** @@ -125,7 +125,7 @@ extern "C" { * The path that is outside of the project path. */ #ifndef _di_fake_print_message_section_operation_path_outside_ - extern void fake_print_message_section_operation_path_outside(const fake_data_t data, const fll_error_print_t error, const f_status_t status, const f_string_t function, const f_string_t path) f_gcc_attribute_visibility_internal; + extern void fake_print_message_section_operation_path_outside(const fake_data_t data, const fll_error_print_t error, const f_status_t status, const f_string_t function, const f_string_t path) f_attribute_visibility_internal; #endif // _fake_print_message_section_operation_path_outside_ /** @@ -144,7 +144,7 @@ extern "C" { * The path to the directory. */ #ifndef _di_fake_print_message_section_operation_path_stack_max_ - extern void fake_print_message_section_operation_path_stack_max(const fake_data_t data, fll_error_print_t error, const f_status_t status, const f_string_t function, const f_string_t path) f_gcc_attribute_visibility_internal; + extern void fake_print_message_section_operation_path_stack_max(const fake_data_t data, fll_error_print_t error, const f_status_t status, const f_string_t function, const f_string_t path) f_attribute_visibility_internal; #endif // _di_fake_print_message_section_operation_path_stack_max_ /** @@ -164,7 +164,7 @@ extern "C" { * The max stack depth. */ #ifndef _di_fake_print_message_section_operation_stack_max_ - extern void fake_print_message_section_operation_stack_max(const fake_data_t data, const fll_error_print_t error, const f_string_static_t buffer, const f_string_range_t section_name, const f_string_range_t operation_name, const f_array_length_t stack_max) f_gcc_attribute_visibility_internal; + extern void fake_print_message_section_operation_stack_max(const fake_data_t data, const fll_error_print_t error, const f_string_static_t buffer, const f_string_range_t section_name, const f_string_range_t operation_name, const f_array_length_t stack_max) f_attribute_visibility_internal; #endif // _di_fake_print_message_section_operation_stack_max_ /** @@ -182,7 +182,7 @@ extern "C" { * The range within the buffer representing the operation name within the section. */ #ifndef _di_fake_print_message_section_operation_unknown_ - extern void fake_print_message_section_operation_unknown(const fake_data_t data, const fll_error_print_t error, const f_string_static_t buffer, const f_string_range_t section_name, const f_string_range_t operation_name) f_gcc_attribute_visibility_internal; + extern void fake_print_message_section_operation_unknown(const fake_data_t data, const fll_error_print_t error, const f_string_static_t buffer, const f_string_range_t section_name, const f_string_range_t operation_name) f_attribute_visibility_internal; #endif // _di_fake_print_message_section_operation_unknown_ /** @@ -200,7 +200,7 @@ extern "C" { * The name of the setting that has an invalid value. */ #ifndef _di_fake_print_warning_settings_content_empty_ - extern void fake_print_warning_settings_content_empty(const fake_data_t data, const f_string_t path_file, const f_string_dynamic_t buffer, const f_string_range_t range_object, const f_string_t settings_name) f_gcc_attribute_visibility_internal; + extern void fake_print_warning_settings_content_empty(const fake_data_t data, const f_string_t path_file, const f_string_dynamic_t buffer, const f_string_range_t range_object, const f_string_t settings_name) f_attribute_visibility_internal; #endif // _di_fake_print_warning_settings_content_empty_ /** @@ -220,7 +220,7 @@ extern "C" { * The name of the setting that has an invalid value. */ #ifndef _di_fake_print_warning_settings_content_invalid_ - extern void fake_print_warning_settings_content_invalid(const fake_data_t data, const f_string_t path_file, const f_string_dynamic_t buffer, const f_string_range_t range_object, const f_string_range_t range_content, const f_string_t settings_name) f_gcc_attribute_visibility_internal; + extern void fake_print_warning_settings_content_invalid(const fake_data_t data, const f_string_t path_file, const f_string_dynamic_t buffer, const f_string_range_t range_object, const f_string_range_t range_content, const f_string_t settings_name) f_attribute_visibility_internal; #endif // _di_fake_print_warning_settings_content_invalid_ /** @@ -236,7 +236,7 @@ extern "C" { * The name of the object. */ #ifndef _di_fake_print_warning_settings_content_multiple_ - extern void fake_print_warning_settings_content_multiple(const fake_data_t data, const f_string_t path_file, const f_string_t name_object) f_gcc_attribute_visibility_internal; + extern void fake_print_warning_settings_content_multiple(const fake_data_t data, const f_string_t path_file, const f_string_t name_object) f_attribute_visibility_internal; #endif // _di_fake_print_warning_settings_content_multiple_ /** @@ -254,7 +254,7 @@ extern "C" { * The name of the object. */ #ifndef _di_fake_print_warning_settings_object_multiple_ - extern void fake_print_warning_settings_object_multiple(const fake_data_t data, const f_string_t path_file, const f_string_t label, const f_string_t name_object) f_gcc_attribute_visibility_internal; + extern void fake_print_warning_settings_object_multiple(const fake_data_t data, const f_string_t path_file, const f_string_t label, const f_string_t name_object) f_attribute_visibility_internal; #endif // _di_fake_print_warning_settings_object_multiple_ #ifdef __cplusplus diff --git a/level_3/fake/c/private-skeleton.h b/level_3/fake/c/private-skeleton.h index e880d02..29bdd43 100644 --- a/level_3/fake/c/private-skeleton.h +++ b/level_3/fake/c/private-skeleton.h @@ -36,7 +36,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_skeleton_operate_ - extern f_status_t fake_skeleton_operate(const fake_data_t data) f_gcc_attribute_visibility_internal; + extern f_status_t fake_skeleton_operate(const fake_data_t data) f_attribute_visibility_internal; #endif // _di_fake_skeleton_operate_ /** @@ -54,7 +54,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_skeleton_operate_directory_create_ - extern f_status_t fake_skeleton_operate_directory_create(const fake_data_t data, const f_string_dynamic_t path) f_gcc_attribute_visibility_internal; + extern f_status_t fake_skeleton_operate_directory_create(const fake_data_t data, const f_string_dynamic_t path) f_attribute_visibility_internal; #endif // _di_fake_skeleton_operate_directory_create_ /** @@ -77,7 +77,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fake_skeleton_operate_file_create_ - extern f_status_t fake_skeleton_operate_file_create(const fake_data_t data, const f_string_dynamic_t path, const bool executable, const f_string_static_t content) f_gcc_attribute_visibility_internal; + extern f_status_t fake_skeleton_operate_file_create(const fake_data_t data, const f_string_dynamic_t path, const bool executable, const f_string_static_t content) f_attribute_visibility_internal; #endif // _di_fake_skeleton_operate_file_create_ #ifdef __cplusplus diff --git a/level_3/fake/data/build/settings b/level_3/fake/data/build/settings index c8537fd..0fe7894 100644 --- a/level_3/fake/data/build/settings +++ b/level_3/fake/data/build/settings @@ -51,7 +51,7 @@ defines_all -D_libcap_legacy_only_ defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always -pthread +flags_all -z now -g -fdiagnostics-color=always -pthread -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/firewall/c/private-firewall.c b/level_3/firewall/c/private-firewall.c index 6e92420..fcf474c 100644 --- a/level_3/firewall/c/private-firewall.c +++ b/level_3/firewall/c/private-firewall.c @@ -72,7 +72,7 @@ f_status_t firewall_perform_commands(const firewall_local_data_t local, const fi if (length >= firewall_chain_length && fl_string_compare(local.buffer.string + local.rule_objects.array[i].start, (f_string_t) firewall_chain, length, firewall_chain_length) == F_equal_to) { if (chain == firewall_chain_custom_id) { // custom chains can only apply to themselves, so silently ignore chain commands specified within a custom chain. - fprintf(f_type_warning, "%sAt line %i, the chain option is meaningle ss inside of a custom chain.", fll_error_print_warning, i); + fprintf(f_type_warning, "%sAt line %llu, the chain option is meaningle ss inside of a custom chain.", fll_error_print_warning, i); continue; } @@ -283,13 +283,13 @@ f_status_t firewall_perform_commands(const firewall_local_data_t local, const fi else if (length < firewall_rule_length || fl_string_compare(local.buffer.string + local.rule_objects.array[i].start, (f_string_t) firewall_rule, length, firewall_rule_length) == F_equal_to_not) { if (length > 0) { f_color_print_code(f_type_warning, data.context.warning); - fprintf(f_type_warning, "%sAt line %i, the object '", fll_error_print_warning, i); + fprintf(f_type_warning, "%sAt line %llu, the object '", fll_error_print_warning, i); f_print(f_type_warning, local.buffer.string + local.rule_objects.array[i].start, length); fprintf(f_type_warning, "' is invalid"); f_color_print_code(f_type_warning, data.context.reset); } else { - fprintf(f_type_warning, "%sAt line %i, the object is missing", fll_error_print_warning, i); + fprintf(f_type_warning, "%sAt line %llu, the object is missing", fll_error_print_warning, i); } fprintf(f_type_warning, "\n"); @@ -301,7 +301,7 @@ f_status_t firewall_perform_commands(const firewall_local_data_t local, const fi if (length > 0) { f_color_print_code(f_type_warning, data.context.warning); - fprintf(f_type_warning, "%sAt line %i, the object '", fll_error_print_warning, i); + fprintf(f_type_warning, "%sAt line %llu, the object '", fll_error_print_warning, i); f_print(f_type_warning, local.buffer.string + local.rule_objects.array[i].start, length); fprintf(f_type_warning, "' has invalid content '"); f_print(f_type_warning, local.buffer.string + local.rule_contents.array[i].array[0].start, firewall_macro_structure_size(local.rule_contents.array[i], 0)); @@ -310,7 +310,7 @@ f_status_t firewall_perform_commands(const firewall_local_data_t local, const fi fprintf(f_type_warning, "\n"); } else { - f_color_print(f_type_warning, data.context.set.warning, "%sAt line %i, the object has no content%c", fll_error_print_warning, i, f_string_eol_s[0]); + f_color_print(f_type_warning, data.context.set.warning, "%sAt line %llu, the object has no content%c", fll_error_print_warning, i, f_string_eol_s[0]); } continue; @@ -553,7 +553,7 @@ f_status_t firewall_perform_commands(const firewall_local_data_t local, const fi length = firewall_macro_structure_size(local.rule_objects, i); f_color_print_code(f_type_warning, data.context.warning); - fprintf(f_type_warning, "%sAt line %i, the object '", fll_error_print_warning, i); + fprintf(f_type_warning, "%sAt line %llu, the object '", fll_error_print_warning, i); f_print(f_type_warning, local.buffer.string + local.rule_objects.array[i].start, length); fprintf(f_type_warning, "' has no content"); f_color_print_code(f_type_warning, data.context.reset); diff --git a/level_3/firewall/c/private-firewall.h b/level_3/firewall/c/private-firewall.h index 6d624a6..fdbef24 100644 --- a/level_3/firewall/c/private-firewall.h +++ b/level_3/firewall/c/private-firewall.h @@ -113,7 +113,7 @@ typedef struct { * * Status codes (with error bit) are returned on any problem. */ -f_status_t firewall_perform_commands(const firewall_local_data_t local, const firewall_data_t data) f_gcc_attribute_visibility_internal; +f_status_t firewall_perform_commands(const firewall_local_data_t local, const firewall_data_t data) f_attribute_visibility_internal; /** * Create custom chains. @@ -130,7 +130,7 @@ f_status_t firewall_perform_commands(const firewall_local_data_t local, const fi * * Status codes (with error bit) are returned on any problem. */ -f_status_t firewall_create_custom_chains(firewall_reserved_chains_t *reserved, firewall_local_data_t *local, firewall_data_t *data) f_gcc_attribute_visibility_internal; +f_status_t firewall_create_custom_chains(firewall_reserved_chains_t *reserved, firewall_local_data_t *local, firewall_data_t *data) f_attribute_visibility_internal; /** * Deallocate chains. @@ -143,7 +143,7 @@ f_status_t firewall_create_custom_chains(firewall_reserved_chains_t *reserved, f * * Status codes (with error bit) are returned on any problem. */ -f_status_t firewall_delete_chains(const firewall_data_t data) f_gcc_attribute_visibility_internal; +f_status_t firewall_delete_chains(const firewall_data_t data) f_attribute_visibility_internal; /** * Lock the firewall. @@ -156,7 +156,7 @@ f_status_t firewall_delete_chains(const firewall_data_t data) f_gcc_attribute_vi * * Status codes (with error bit) are returned on any problem. */ -f_status_t firewall_default_lock(const firewall_data_t data) f_gcc_attribute_visibility_internal; +f_status_t firewall_default_lock(const firewall_data_t data) f_attribute_visibility_internal; /** * Buffer firewall rules. @@ -176,7 +176,7 @@ f_status_t firewall_default_lock(const firewall_data_t data) f_gcc_attribute_vis * * Status codes (with error bit) are returned on any problem. */ -f_status_t firewall_buffer_rules(const f_string_t filename, const bool optional, firewall_local_data_t *local, firewall_data_t *data) f_gcc_attribute_visibility_internal; +f_status_t firewall_buffer_rules(const f_string_t filename, const bool optional, firewall_local_data_t *local, firewall_data_t *data) f_attribute_visibility_internal; /** * Process buffered rules. @@ -193,7 +193,7 @@ f_status_t firewall_buffer_rules(const f_string_t filename, const bool optional, * * Status codes (with error bit) are returned on any problem. */ -f_status_t firewall_process_rules(f_string_range_t *range, firewall_local_data_t *local, firewall_data_t *data) f_gcc_attribute_visibility_internal; +f_status_t firewall_process_rules(f_string_range_t *range, firewall_local_data_t *local, firewall_data_t *data) f_attribute_visibility_internal; /** * Delete allocated data. @@ -206,7 +206,7 @@ f_status_t firewall_process_rules(f_string_range_t *range, firewall_local_data_t * * Status codes (with error bit) are returned on any problem. */ -f_status_t firewall_delete_local_data(firewall_local_data_t *local) f_gcc_attribute_visibility_internal; +f_status_t firewall_delete_local_data(firewall_local_data_t *local) f_attribute_visibility_internal; #ifdef __cplusplus } // extern "C" diff --git a/level_3/firewall/data/build/settings b/level_3/firewall/data/build/settings index b299b9b..a1fc229 100644 --- a/level_3/firewall/data/build/settings +++ b/level_3/firewall/data/build/settings @@ -51,7 +51,7 @@ defines_all -D_libcap_legacy_only_ defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always -pthread +flags_all -z now -g -fdiagnostics-color=always -pthread -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/fss_basic_list_read/c/main.c b/level_3/fss_basic_list_read/c/main.c index aed5e66..caab106 100644 --- a/level_3/fss_basic_list_read/c/main.c +++ b/level_3/fss_basic_list_read/c/main.c @@ -1,6 +1,6 @@ #include "fss_basic_list_read.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; fss_basic_list_read_data_t data = fss_basic_list_read_data_t_initialize; diff --git a/level_3/fss_basic_list_read/c/private-fss_basic_list_read.c b/level_3/fss_basic_list_read/c/private-fss_basic_list_read.c index 904a235..cb0527c 100644 --- a/level_3/fss_basic_list_read/c/private-fss_basic_list_read.c +++ b/level_3/fss_basic_list_read/c/private-fss_basic_list_read.c @@ -105,7 +105,7 @@ extern "C" { if (status_code == F_memory_not) { f_color_print(data.error.to.stream, data.context.set.error, "%sUnable to allocate memory.%c", fll_error_print_error, f_string_eol_s[0]); } - else if (status_code == f_array_length_t_size) { + else if (status_code == F_string_too_large) { f_color_print(data.error.to.stream, data.context.set.error, "%sUnable to process '", fll_error_print_error); f_color_print(data.error.to.stream, data.context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_list_read_long_trim); f_color_print(data.error.to.stream, data.context.set.error, "' because the maximum buffer size was reached.%c", f_string_eol_s[0]); diff --git a/level_3/fss_basic_list_read/c/private-fss_basic_list_read.h b/level_3/fss_basic_list_read/c/private-fss_basic_list_read.h index fc4fcab..ba2b29a 100644 --- a/level_3/fss_basic_list_read/c/private-fss_basic_list_read.h +++ b/level_3/fss_basic_list_read/c/private-fss_basic_list_read.h @@ -127,7 +127,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fss_basic_list_read_main_preprocess_depth_ - extern f_status_t fss_basic_list_read_main_preprocess_depth(const f_console_arguments_t arguments, const fss_basic_list_read_data_t data, fss_basic_list_read_depths_t *depths) f_gcc_attribute_visibility_internal; + extern f_status_t fss_basic_list_read_main_preprocess_depth(const f_console_arguments_t arguments, const fss_basic_list_read_data_t data, fss_basic_list_read_depths_t *depths) f_attribute_visibility_internal; #endif // _di_fss_basic_list_read_main_preprocess_depth_ /** @@ -155,7 +155,7 @@ extern "C" { * @see fss_basic_list_read_main_preprocess_depth() */ #ifndef _di_fss_basic_list_read_main_process_file_ - extern f_status_t fss_basic_list_read_main_process_file(const f_console_arguments_t arguments, fss_basic_list_read_data_t *data, const f_string_t file_name, const fss_basic_list_read_depths_t depths, f_fss_delimits_t *delimits, f_fss_comments_t *comments) f_gcc_attribute_visibility_internal; + extern f_status_t fss_basic_list_read_main_process_file(const f_console_arguments_t arguments, fss_basic_list_read_data_t *data, const f_string_t file_name, const fss_basic_list_read_depths_t depths, f_fss_delimits_t *delimits, f_fss_comments_t *comments) f_attribute_visibility_internal; #endif // _di_fss_basic_list_read_main_process_file_ /** @@ -165,7 +165,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_basic_list_read_print_object_end_ - extern void fss_basic_list_read_print_object_end(const fss_basic_list_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_basic_list_read_print_object_end(const fss_basic_list_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_basic_list_read_print_object_end_ /** @@ -177,7 +177,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_basic_list_read_print_content_ignore_ - extern void fss_basic_list_read_print_content_ignore(const fss_basic_list_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_basic_list_read_print_content_ignore(const fss_basic_list_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_basic_list_read_print_content_ignore_ /** @@ -187,7 +187,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_basic_list_read_print_content_end_ - extern void fss_basic_list_read_print_content_end(const fss_basic_list_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_basic_list_read_print_content_end(const fss_basic_list_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_basic_list_read_print_content_end_ /** @@ -197,7 +197,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_basic_list_read_print_set_end_ - extern void fss_basic_list_read_print_set_end(const fss_basic_list_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_basic_list_read_print_set_end(const fss_basic_list_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_basic_list_read_print_set_end_ #ifdef __cplusplus diff --git a/level_3/fss_basic_list_read/data/build/settings b/level_3/fss_basic_list_read/data/build/settings index 7cfc6d1..c40e95b 100644 --- a/level_3/fss_basic_list_read/data/build/settings +++ b/level_3/fss_basic_list_read/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/fss_basic_list_write/c/main.c b/level_3/fss_basic_list_write/c/main.c index 7d8ed20..3ebf995 100644 --- a/level_3/fss_basic_list_write/c/main.c +++ b/level_3/fss_basic_list_write/c/main.c @@ -1,6 +1,6 @@ #include "fss_basic_list_write.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; fss_basic_list_write_data_t data = fss_basic_list_write_data_t_initialize; diff --git a/level_3/fss_basic_list_write/c/private-fss_basic_list_write.h b/level_3/fss_basic_list_write/c/private-fss_basic_list_write.h index 442d25b..8782939 100644 --- a/level_3/fss_basic_list_write/c/private-fss_basic_list_write.h +++ b/level_3/fss_basic_list_write/c/private-fss_basic_list_write.h @@ -19,7 +19,7 @@ extern "C" { * The program data. */ #ifndef _di_fss_basic_list_write_error_parameter_same_times_print_ - void fss_basic_list_write_error_parameter_same_times_print(const fss_basic_list_write_data_t data) f_gcc_attribute_visibility_internal; + void fss_basic_list_write_error_parameter_same_times_print(const fss_basic_list_write_data_t data) f_attribute_visibility_internal; #endif // _di_fss_basic_list_write_error_parameter_same_times_print_ /** @@ -29,7 +29,7 @@ extern "C" { * The program data. */ #ifndef _di_fss_basic_list_write_error_parameter_unsupported_eol_print_ - void fss_basic_list_write_error_parameter_unsupported_eol_print(const fss_basic_list_write_data_t data) f_gcc_attribute_visibility_internal; + void fss_basic_list_write_error_parameter_unsupported_eol_print(const fss_basic_list_write_data_t data) f_attribute_visibility_internal; #endif // _di_fss_basic_list_write_error_parameter_unsupported_eol_print_ /** @@ -43,7 +43,7 @@ extern "C" { * The parameter name, such as "help" in "--help". */ #ifndef _di_fss_basic_list_write_error_parameter_value_missing_print_ - void fss_basic_list_write_error_parameter_value_missing_print(const fss_basic_list_write_data_t data, const f_string_t symbol, const f_string_t parameter) f_gcc_attribute_visibility_internal; + void fss_basic_list_write_error_parameter_value_missing_print(const fss_basic_list_write_data_t data, const f_string_t symbol, const f_string_t parameter) f_attribute_visibility_internal; #endif // _di_fss_basic_list_write_error_parameter_value_missing_print_ /** @@ -70,7 +70,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_basic_list_write_process_ - extern f_status_t fss_basic_list_write_process(const fss_basic_list_write_data_t data, const f_file_t output, const f_fss_quote_t quote, const f_string_static_t *object, const f_string_static_t *content, f_string_dynamic_t *buffer) f_gcc_attribute_visibility_internal; + extern f_status_t fss_basic_list_write_process(const fss_basic_list_write_data_t data, const f_file_t output, const f_fss_quote_t quote, const f_string_static_t *object, const f_string_static_t *content, f_string_dynamic_t *buffer) f_attribute_visibility_internal; #endif // _di_fss_basic_list_write_process_ /** @@ -91,7 +91,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_basic_list_write_process_pipe_ - extern f_status_t fss_basic_list_write_process_pipe(const fss_basic_list_write_data_t data, const f_file_t output, const f_fss_quote_t quote, f_string_dynamic_t *buffer) f_gcc_attribute_visibility_internal; + extern f_status_t fss_basic_list_write_process_pipe(const fss_basic_list_write_data_t data, const f_file_t output, const f_fss_quote_t quote, f_string_dynamic_t *buffer) f_attribute_visibility_internal; #endif // _di_fss_basic_list_write_process_pipe_ #ifdef __cplusplus diff --git a/level_3/fss_basic_list_write/data/build/settings b/level_3/fss_basic_list_write/data/build/settings index 2921c81..1874636 100644 --- a/level_3/fss_basic_list_write/data/build/settings +++ b/level_3/fss_basic_list_write/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/fss_basic_read/c/main.c b/level_3/fss_basic_read/c/main.c index d6a5479..b436fe0 100644 --- a/level_3/fss_basic_read/c/main.c +++ b/level_3/fss_basic_read/c/main.c @@ -1,6 +1,6 @@ #include "fss_basic_read.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; fss_basic_read_data_t data = fss_basic_read_data_t_initialize; diff --git a/level_3/fss_basic_read/c/private-fss_basic_read.c b/level_3/fss_basic_read/c/private-fss_basic_read.c index b630fa6..6df27ba 100644 --- a/level_3/fss_basic_read/c/private-fss_basic_read.c +++ b/level_3/fss_basic_read/c/private-fss_basic_read.c @@ -105,7 +105,7 @@ extern "C" { if (status_code == F_memory_not) { f_color_print(data.error.to.stream, data.context.set.error, "%sUnable to allocate memory.%c", fll_error_print_error, f_string_eol_s[0]); } - else if (status_code == f_array_length_t_size) { + else if (status_code == F_string_too_large) { f_color_print(data.error.to.stream, data.context.set.error, "%sUnable to process '", fll_error_print_error); f_color_print(data.error.to.stream, data.context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_read_long_trim); f_color_print(data.error.to.stream, data.context.set.error, "' because the maximum buffer size was reached.%c", f_string_eol_s[0]); diff --git a/level_3/fss_basic_read/c/private-fss_basic_read.h b/level_3/fss_basic_read/c/private-fss_basic_read.h index e8d890c..c6f1696 100644 --- a/level_3/fss_basic_read/c/private-fss_basic_read.h +++ b/level_3/fss_basic_read/c/private-fss_basic_read.h @@ -140,7 +140,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fss_basic_read_main_preprocess_depth_ - extern f_status_t fss_basic_read_main_preprocess_depth(const f_console_arguments_t arguments, const fss_basic_read_data_t data, fss_basic_read_depths_t *depths) f_gcc_attribute_visibility_internal; + extern f_status_t fss_basic_read_main_preprocess_depth(const f_console_arguments_t arguments, const fss_basic_read_data_t data, fss_basic_read_depths_t *depths) f_attribute_visibility_internal; #endif // _di_fss_basic_read_main_preprocess_depth_ /** @@ -165,7 +165,7 @@ extern "C" { * @see fss_basic_read_main_preprocess_depth() */ #ifndef _di_fss_basic_read_main_process_file_ - extern f_status_t fss_basic_read_main_process_file(const f_console_arguments_t arguments, fss_basic_read_data_t *data, const f_string_t file_name, const fss_basic_read_depths_t depths, f_fss_delimits_t *delimits) f_gcc_attribute_visibility_internal; + extern f_status_t fss_basic_read_main_process_file(const f_console_arguments_t arguments, fss_basic_read_data_t *data, const f_string_t file_name, const fss_basic_read_depths_t depths, f_fss_delimits_t *delimits) f_attribute_visibility_internal; #endif // _di_fss_basic_read_main_process_file_ /** @@ -175,7 +175,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_basic_read_print_object_end_ - extern void fss_basic_read_print_object_end(const fss_basic_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_basic_read_print_object_end(const fss_basic_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_basic_read_print_object_end_ /** @@ -185,7 +185,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_basic_read_print_set_end_ - extern void fss_basic_read_print_set_end(const fss_basic_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_basic_read_print_set_end(const fss_basic_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_basic_read_print_set_end_ #ifdef __cplusplus diff --git a/level_3/fss_basic_read/data/build/settings b/level_3/fss_basic_read/data/build/settings index 00563b8..03ccd2f 100644 --- a/level_3/fss_basic_read/data/build/settings +++ b/level_3/fss_basic_read/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/fss_basic_write/c/main.c b/level_3/fss_basic_write/c/main.c index f425c45..579e3f2 100644 --- a/level_3/fss_basic_write/c/main.c +++ b/level_3/fss_basic_write/c/main.c @@ -1,6 +1,6 @@ #include "fss_basic_write.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; fss_basic_write_data_t data = fss_basic_write_data_t_initialize; diff --git a/level_3/fss_basic_write/c/private-fss_basic_write.h b/level_3/fss_basic_write/c/private-fss_basic_write.h index 3375344..6216257 100644 --- a/level_3/fss_basic_write/c/private-fss_basic_write.h +++ b/level_3/fss_basic_write/c/private-fss_basic_write.h @@ -19,7 +19,7 @@ extern "C" { * The program data. */ #ifndef _di_fss_basic_write_error_parameter_same_times_print_ - void fss_basic_write_error_parameter_same_times_print(const fss_basic_write_data_t data) f_gcc_attribute_visibility_internal; + void fss_basic_write_error_parameter_same_times_print(const fss_basic_write_data_t data) f_attribute_visibility_internal; #endif // _di_fss_basic_write_error_parameter_same_times_print_ /** @@ -33,7 +33,7 @@ extern "C" { * The parameter name, such as "help" in "--help". */ #ifndef _di_fss_basic_write_error_parameter_value_missing_print_ - void fss_basic_write_error_parameter_value_missing_print(const fss_basic_write_data_t data, const f_string_t symbol, const f_string_t parameter) f_gcc_attribute_visibility_internal; + void fss_basic_write_error_parameter_value_missing_print(const fss_basic_write_data_t data, const f_string_t symbol, const f_string_t parameter) f_attribute_visibility_internal; #endif // _di_fss_basic_write_error_parameter_value_missing_print_ /** @@ -43,7 +43,7 @@ extern "C" { * The program data. */ #ifndef _di_fss_basic_write_error_parameter_unsupported_eol_print_ - void fss_basic_write_error_parameter_unsupported_eol_print(const fss_basic_write_data_t data) f_gcc_attribute_visibility_internal; + void fss_basic_write_error_parameter_unsupported_eol_print(const fss_basic_write_data_t data) f_attribute_visibility_internal; #endif // _di_fss_basic_write_error_parameter_unsupported_eol_print_ /** @@ -70,7 +70,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_basic_write_process_ - extern f_status_t fss_basic_write_process(const fss_basic_write_data_t data, const f_file_t output, const f_fss_quote_t quote, const f_string_static_t *object, const f_string_static_t *content, f_string_dynamic_t *buffer) f_gcc_attribute_visibility_internal; + extern f_status_t fss_basic_write_process(const fss_basic_write_data_t data, const f_file_t output, const f_fss_quote_t quote, const f_string_static_t *object, const f_string_static_t *content, f_string_dynamic_t *buffer) f_attribute_visibility_internal; #endif // _di_fss_basic_write_process_ /** @@ -91,7 +91,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_basic_write_process_pipe_ - extern f_status_t fss_basic_write_process_pipe(const fss_basic_write_data_t data, const f_file_t output, const f_fss_quote_t quote, f_string_dynamic_t *buffer) f_gcc_attribute_visibility_internal; + extern f_status_t fss_basic_write_process_pipe(const fss_basic_write_data_t data, const f_file_t output, const f_fss_quote_t quote, f_string_dynamic_t *buffer) f_attribute_visibility_internal; #endif // _di_fss_basic_write_process_pipe_ #ifdef __cplusplus diff --git a/level_3/fss_basic_write/data/build/settings b/level_3/fss_basic_write/data/build/settings index 8d7f36d..562de8a 100644 --- a/level_3/fss_basic_write/data/build/settings +++ b/level_3/fss_basic_write/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/fss_embedded_list_read/c/main.c b/level_3/fss_embedded_list_read/c/main.c index 5e459fb..744ea5f 100644 --- a/level_3/fss_embedded_list_read/c/main.c +++ b/level_3/fss_embedded_list_read/c/main.c @@ -1,6 +1,6 @@ #include "fss_embedded_list_read.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; fss_embedded_list_read_data_t data = fss_embedded_list_read_data_t_initialize; diff --git a/level_3/fss_embedded_list_read/c/private-fss_embedded_list_read.h b/level_3/fss_embedded_list_read/c/private-fss_embedded_list_read.h index 9fd707e..1e47685 100644 --- a/level_3/fss_embedded_list_read/c/private-fss_embedded_list_read.h +++ b/level_3/fss_embedded_list_read/c/private-fss_embedded_list_read.h @@ -152,7 +152,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fss_embedded_list_read_main_preprocess_depth_ - extern f_status_t fss_embedded_list_read_main_preprocess_depth(const f_console_arguments_t arguments, const fss_embedded_list_read_data_t data, fss_embedded_list_read_depths_t *depths) f_gcc_attribute_visibility_internal; + extern f_status_t fss_embedded_list_read_main_preprocess_depth(const f_console_arguments_t arguments, const fss_embedded_list_read_data_t data, fss_embedded_list_read_depths_t *depths) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_read_main_preprocess_depth_ /** @@ -183,7 +183,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fss_embedded_list_read_main_process_file_ - extern f_status_t fss_embedded_list_read_main_process_file(const f_console_arguments_t arguments, fss_embedded_list_read_data_t *data, const f_string_t file_name, const fss_embedded_list_read_depths_t depths, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits, f_fss_comments_t *comments) f_gcc_attribute_visibility_internal; + extern f_status_t fss_embedded_list_read_main_process_file(const f_console_arguments_t arguments, fss_embedded_list_read_data_t *data, const f_string_t file_name, const fss_embedded_list_read_depths_t depths, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits, f_fss_comments_t *comments) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_read_main_process_file_ /** @@ -219,7 +219,7 @@ extern "C" { * @see fss_embedded_list_read_main_process_file() */ #ifndef _di_fss_embedded_list_read_main_process_for_depth_ - extern f_status_t fss_embedded_list_read_main_process_for_depth(const f_console_arguments_t arguments, const f_string_t filename, const fss_embedded_list_read_depths_t depths, const f_array_length_t depths_index, const f_array_length_t line, const fss_embedded_list_read_skip_t parents, fss_embedded_list_read_data_t *data, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits) f_gcc_attribute_visibility_internal; + extern f_status_t fss_embedded_list_read_main_process_for_depth(const f_console_arguments_t arguments, const f_string_t filename, const fss_embedded_list_read_depths_t depths, const f_array_length_t depths_index, const f_array_length_t line, const fss_embedded_list_read_skip_t parents, fss_embedded_list_read_data_t *data, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_read_main_process_for_depth_ /** @@ -229,7 +229,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_embedded_list_read_print_content_end_ - extern void fss_embedded_list_read_print_content_end(const fss_embedded_list_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_embedded_list_read_print_content_end(const fss_embedded_list_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_read_print_content_end_ /** @@ -241,7 +241,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_embedded_list_read_print_content_ignore_ - extern void fss_embedded_list_read_print_content_ignore(const fss_embedded_list_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_embedded_list_read_print_content_ignore(const fss_embedded_list_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_read_print_content_ignore_ /** @@ -251,7 +251,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_embedded_list_read_print_object_end_ - extern void fss_embedded_list_read_print_object_end(const fss_embedded_list_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_embedded_list_read_print_object_end(const fss_embedded_list_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_read_print_object_end_ /** @@ -261,7 +261,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_embedded_list_read_print_set_end_ - extern void fss_embedded_list_read_print_set_end(const fss_embedded_list_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_embedded_list_read_print_set_end(const fss_embedded_list_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_read_print_set_end_ /** @@ -277,7 +277,7 @@ extern "C" { * @see fss_embedded_list_read_main_process_file() */ #ifndef _di_fss_embedded_list_read_process_delimits_ - extern void fss_embedded_list_read_process_delimits(const fss_embedded_list_read_data_t data, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits) f_gcc_attribute_visibility_internal; + extern void fss_embedded_list_read_process_delimits(const fss_embedded_list_read_data_t data, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_read_process_delimits_ /** @@ -297,7 +297,7 @@ extern "C" { * @see fss_embedded_list_read_process_delimits() */ #ifndef _di_fss_embedded_list_read_process_delimits_contents_ - extern void fss_embedded_list_read_process_delimits_contents(const fss_embedded_list_read_data_t data, const f_array_length_t depth, const f_array_length_t original_delimits[], const f_array_length_t original_used, f_fss_delimits_t *delimits) f_gcc_attribute_visibility_internal; + extern void fss_embedded_list_read_process_delimits_contents(const fss_embedded_list_read_data_t data, const f_array_length_t depth, const f_array_length_t original_delimits[], const f_array_length_t original_used, f_fss_delimits_t *delimits) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_read_process_delimits_contents_ /** @@ -317,7 +317,7 @@ extern "C" { * @see fss_embedded_list_read_process_delimits() */ #ifndef _di_fss_embedded_list_read_process_delimits_objects_ - extern void fss_embedded_list_read_process_delimits_objects(const fss_embedded_list_read_data_t data, const f_array_length_t depth, const f_array_length_t original_delimits[], const f_array_length_t original_used, f_fss_delimits_t *delimits) f_gcc_attribute_visibility_internal; + extern void fss_embedded_list_read_process_delimits_objects(const fss_embedded_list_read_data_t data, const f_array_length_t depth, const f_array_length_t original_delimits[], const f_array_length_t original_used, f_fss_delimits_t *delimits) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_read_process_delimits_objects_ /** @@ -338,7 +338,7 @@ extern "C" { * @see fss_embedded_list_read_process_delimits_contents() */ #ifndef _di_fss_embedded_list_read_process_delimits_within_greater_ - extern f_status_t fss_embedded_list_read_process_delimits_within_greater(const fss_embedded_list_read_data_t data, const f_array_length_t depth, const f_array_length_t location) f_gcc_attribute_visibility_internal; + extern f_status_t fss_embedded_list_read_process_delimits_within_greater(const fss_embedded_list_read_data_t data, const f_array_length_t depth, const f_array_length_t location) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_read_process_delimits_within_greater_ #ifdef __cplusplus diff --git a/level_3/fss_embedded_list_read/data/build/settings b/level_3/fss_embedded_list_read/data/build/settings index e275a4d..6c07860 100644 --- a/level_3/fss_embedded_list_read/data/build/settings +++ b/level_3/fss_embedded_list_read/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/fss_embedded_list_write/c/main.c b/level_3/fss_embedded_list_write/c/main.c index 8847680..6e07dd8 100644 --- a/level_3/fss_embedded_list_write/c/main.c +++ b/level_3/fss_embedded_list_write/c/main.c @@ -1,6 +1,6 @@ #include "fss_embedded_list_write.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; fss_embedded_list_write_data_t data = fss_embedded_list_write_data_t_initialize; diff --git a/level_3/fss_embedded_list_write/c/private-fss_embedded_list_write.h b/level_3/fss_embedded_list_write/c/private-fss_embedded_list_write.h index 6d0963a..cd8afa3 100644 --- a/level_3/fss_embedded_list_write/c/private-fss_embedded_list_write.h +++ b/level_3/fss_embedded_list_write/c/private-fss_embedded_list_write.h @@ -19,7 +19,7 @@ extern "C" { * The program data. */ #ifndef _di_fss_embedded_list_write_error_parameter_same_times_print_ - void fss_embedded_list_write_error_parameter_same_times_print(const fss_embedded_list_write_data_t data) f_gcc_attribute_visibility_internal; + void fss_embedded_list_write_error_parameter_same_times_print(const fss_embedded_list_write_data_t data) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_write_error_parameter_same_times_print_ /** @@ -29,7 +29,7 @@ extern "C" { * The program data. */ #ifndef _di_fss_embedded_list_write_error_parameter_unsupported_eol_print_ - void fss_embedded_list_write_error_parameter_unsupported_eol_print(const fss_embedded_list_write_data_t data) f_gcc_attribute_visibility_internal; + void fss_embedded_list_write_error_parameter_unsupported_eol_print(const fss_embedded_list_write_data_t data) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_write_error_parameter_unsupported_eol_print_ /** @@ -43,7 +43,7 @@ extern "C" { * The parameter name, such as "help" in "--help". */ #ifndef _di_fss_embedded_list_write_error_parameter_value_missing_print_ - void fss_embedded_list_write_error_parameter_value_missing_print(const fss_embedded_list_write_data_t data, const f_string_t symbol, const f_string_t parameter) f_gcc_attribute_visibility_internal; + void fss_embedded_list_write_error_parameter_value_missing_print(const fss_embedded_list_write_data_t data, const f_string_t symbol, const f_string_t parameter) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_write_error_parameter_value_missing_print_ /** @@ -73,7 +73,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_embedded_list_write_process_ - extern f_status_t fss_embedded_list_write_process(const fss_embedded_list_write_data_t data, const f_file_t output, const f_fss_quote_t quote, const f_string_static_t *object, const f_string_static_t *content, const f_string_ranges_t *ignore, f_string_dynamic_t *buffer) f_gcc_attribute_visibility_internal; + extern f_status_t fss_embedded_list_write_process(const fss_embedded_list_write_data_t data, const f_file_t output, const f_fss_quote_t quote, const f_string_static_t *object, const f_string_static_t *content, const f_string_ranges_t *ignore, f_string_dynamic_t *buffer) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_write_process_ /** @@ -97,7 +97,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_embedded_list_write_process_pipe_ - extern f_status_t fss_embedded_list_write_process_pipe(const fss_embedded_list_write_data_t data, const f_file_t output, const f_fss_quote_t quote, f_string_dynamic_t *buffer, f_string_ranges_t *ignore) f_gcc_attribute_visibility_internal; + extern f_status_t fss_embedded_list_write_process_pipe(const fss_embedded_list_write_data_t data, const f_file_t output, const f_fss_quote_t quote, f_string_dynamic_t *buffer, f_string_ranges_t *ignore) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_write_process_pipe_ /** @@ -119,7 +119,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_embedded_list_write_process_parameter_ignore_ - extern f_status_t fss_embedded_list_write_process_parameter_ignore(const f_console_arguments_t arguments, const fss_embedded_list_write_data_t data, const f_array_lengths_t contents, const f_array_length_t location, f_string_ranges_t *ignore) f_gcc_attribute_visibility_internal; + extern f_status_t fss_embedded_list_write_process_parameter_ignore(const f_console_arguments_t arguments, const fss_embedded_list_write_data_t data, const f_array_lengths_t contents, const f_array_length_t location, f_string_ranges_t *ignore) f_attribute_visibility_internal; #endif // _di_fss_embedded_list_write_process_parameter_ignore_ #ifdef __cplusplus diff --git a/level_3/fss_embedded_list_write/data/build/settings b/level_3/fss_embedded_list_write/data/build/settings index ea2d1df..f9eaf88 100644 --- a/level_3/fss_embedded_list_write/data/build/settings +++ b/level_3/fss_embedded_list_write/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/fss_extended_list_read/c/main.c b/level_3/fss_extended_list_read/c/main.c index 6d750b2..bc0e272 100644 --- a/level_3/fss_extended_list_read/c/main.c +++ b/level_3/fss_extended_list_read/c/main.c @@ -1,6 +1,6 @@ #include "fss_extended_list_read.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; fss_extended_list_read_data_t data = fss_extended_list_read_data_t_initialize; diff --git a/level_3/fss_extended_list_read/c/private-fss_extended_list_read.c b/level_3/fss_extended_list_read/c/private-fss_extended_list_read.c index 451ba54..0e1f1df 100644 --- a/level_3/fss_extended_list_read/c/private-fss_extended_list_read.c +++ b/level_3/fss_extended_list_read/c/private-fss_extended_list_read.c @@ -105,7 +105,7 @@ extern "C" { if (status_code == F_memory_not) { f_color_print(data.error.to.stream, data.context.set.error, "%sUnable to allocate memory.%c", fll_error_print_error, f_string_eol_s[0]); } - else if (status_code == f_array_length_t_size) { + else if (status_code == F_string_too_large) { f_color_print(data.error.to.stream, data.context.set.error, "%sUnable to process '", fll_error_print_error); f_color_print(data.error.to.stream, data.context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_list_read_long_trim); f_color_print(data.error.to.stream, data.context.set.error, "' because the maximum buffer size was reached.%c", f_string_eol_s[0]); diff --git a/level_3/fss_extended_list_read/c/private-fss_extended_list_read.h b/level_3/fss_extended_list_read/c/private-fss_extended_list_read.h index 6ce3470..0fd0f90 100644 --- a/level_3/fss_extended_list_read/c/private-fss_extended_list_read.h +++ b/level_3/fss_extended_list_read/c/private-fss_extended_list_read.h @@ -129,7 +129,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fss_extended_list_read_main_preprocess_depth_ - extern f_status_t fss_extended_list_read_main_preprocess_depth(const f_console_arguments_t arguments, const fss_extended_list_read_data_t data, fss_extended_list_read_depths_t *depths) f_gcc_attribute_visibility_internal; + extern f_status_t fss_extended_list_read_main_preprocess_depth(const f_console_arguments_t arguments, const fss_extended_list_read_data_t data, fss_extended_list_read_depths_t *depths) f_attribute_visibility_internal; #endif // _di_fss_extended_list_read_main_preprocess_depth_ /** @@ -157,7 +157,7 @@ extern "C" { * @see fss_extended_list_read_main_preprocess_depth() */ #ifndef _di_fss_extended_list_read_main_process_file_ - extern f_status_t fss_extended_list_read_main_process_file(const f_console_arguments_t arguments, fss_extended_list_read_data_t *data, const f_string_t file_name, const fss_extended_list_read_depths_t depths, f_fss_delimits_t *delimits, f_fss_comments_t *comments) f_gcc_attribute_visibility_internal; + extern f_status_t fss_extended_list_read_main_process_file(const f_console_arguments_t arguments, fss_extended_list_read_data_t *data, const f_string_t file_name, const fss_extended_list_read_depths_t depths, f_fss_delimits_t *delimits, f_fss_comments_t *comments) f_attribute_visibility_internal; #endif // _di_fss_extended_list_read_main_process_file_ /** @@ -167,7 +167,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_extended_list_read_print_object_end_ - extern void fss_extended_list_read_print_object_end(const fss_extended_list_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_extended_list_read_print_object_end(const fss_extended_list_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_extended_list_read_print_object_end_ /** @@ -179,7 +179,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_extended_list_read_print_content_ignore_ - extern void fss_extended_list_read_print_content_ignore(const fss_extended_list_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_extended_list_read_print_content_ignore(const fss_extended_list_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_extended_list_read_print_content_ignore_ /** @@ -189,7 +189,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_extended_list_read_print_content_end_ - extern void fss_extended_list_read_print_content_end(const fss_extended_list_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_extended_list_read_print_content_end(const fss_extended_list_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_extended_list_read_print_content_end_ /** @@ -199,7 +199,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_extended_list_read_print_set_end_ - extern void fss_extended_list_read_print_set_end(const fss_extended_list_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_extended_list_read_print_set_end(const fss_extended_list_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_extended_list_read_print_set_end_ #ifdef __cplusplus diff --git a/level_3/fss_extended_list_read/data/build/settings b/level_3/fss_extended_list_read/data/build/settings index a91df46..854173f 100644 --- a/level_3/fss_extended_list_read/data/build/settings +++ b/level_3/fss_extended_list_read/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/fss_extended_list_write/c/main.c b/level_3/fss_extended_list_write/c/main.c index bb11a76..cc4fcb7 100644 --- a/level_3/fss_extended_list_write/c/main.c +++ b/level_3/fss_extended_list_write/c/main.c @@ -1,6 +1,6 @@ #include "fss_extended_list_write.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; fss_extended_list_write_data_t data = fss_extended_list_write_data_t_initialize; diff --git a/level_3/fss_extended_list_write/c/private-fss_extended_list_write.h b/level_3/fss_extended_list_write/c/private-fss_extended_list_write.h index bf4a2de..77eec3f 100644 --- a/level_3/fss_extended_list_write/c/private-fss_extended_list_write.h +++ b/level_3/fss_extended_list_write/c/private-fss_extended_list_write.h @@ -19,7 +19,7 @@ extern "C" { * The program data. */ #ifndef _di_fss_extended_list_write_error_parameter_same_times_print_ - void fss_extended_list_write_error_parameter_same_times_print(const fss_extended_list_write_data_t data) f_gcc_attribute_visibility_internal; + void fss_extended_list_write_error_parameter_same_times_print(const fss_extended_list_write_data_t data) f_attribute_visibility_internal; #endif // _di_fss_extended_list_write_error_parameter_same_times_print_ /** @@ -29,7 +29,7 @@ extern "C" { * The program data. */ #ifndef _di_fss_extended_list_write_error_parameter_unsupported_eol_print_ - void fss_extended_list_write_error_parameter_unsupported_eol_print(const fss_extended_list_write_data_t data) f_gcc_attribute_visibility_internal; + void fss_extended_list_write_error_parameter_unsupported_eol_print(const fss_extended_list_write_data_t data) f_attribute_visibility_internal; #endif // _di_fss_extended_list_write_error_parameter_unsupported_eol_print_ /** @@ -43,7 +43,7 @@ extern "C" { * The parameter name, such as "help" in "--help". */ #ifndef _di_fss_extended_list_write_error_parameter_value_missing_print_ - void fss_extended_list_write_error_parameter_value_missing_print(const fss_extended_list_write_data_t data, const f_string_t symbol, const f_string_t parameter) f_gcc_attribute_visibility_internal; + void fss_extended_list_write_error_parameter_value_missing_print(const fss_extended_list_write_data_t data, const f_string_t symbol, const f_string_t parameter) f_attribute_visibility_internal; #endif // _di_fss_extended_list_write_error_parameter_value_missing_print_ /** @@ -73,7 +73,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_extended_list_write_process_ - extern f_status_t fss_extended_list_write_process(const fss_extended_list_write_data_t data, const f_file_t output, const f_fss_quote_t quote, const f_string_static_t *object, const f_string_static_t *content, const f_string_ranges_t *ignore, f_string_dynamic_t *buffer) f_gcc_attribute_visibility_internal; + extern f_status_t fss_extended_list_write_process(const fss_extended_list_write_data_t data, const f_file_t output, const f_fss_quote_t quote, const f_string_static_t *object, const f_string_static_t *content, const f_string_ranges_t *ignore, f_string_dynamic_t *buffer) f_attribute_visibility_internal; #endif // _di_fss_extended_list_write_process_ /** @@ -97,7 +97,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_extended_list_write_process_pipe_ - extern f_status_t fss_extended_list_write_process_pipe(const fss_extended_list_write_data_t data, const f_file_t output, const f_fss_quote_t quote, f_string_dynamic_t *buffer, f_string_ranges_t *ignore) f_gcc_attribute_visibility_internal; + extern f_status_t fss_extended_list_write_process_pipe(const fss_extended_list_write_data_t data, const f_file_t output, const f_fss_quote_t quote, f_string_dynamic_t *buffer, f_string_ranges_t *ignore) f_attribute_visibility_internal; #endif // _di_fss_extended_list_write_process_pipe_ /** @@ -119,7 +119,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_extended_list_write_process_parameter_ignore_ - extern f_status_t fss_extended_list_write_process_parameter_ignore(const f_console_arguments_t arguments, const fss_extended_list_write_data_t data, const f_array_lengths_t contents, const f_array_length_t location, f_string_ranges_t *ignore) f_gcc_attribute_visibility_internal; + extern f_status_t fss_extended_list_write_process_parameter_ignore(const f_console_arguments_t arguments, const fss_extended_list_write_data_t data, const f_array_lengths_t contents, const f_array_length_t location, f_string_ranges_t *ignore) f_attribute_visibility_internal; #endif // _di_fss_extended_list_write_process_parameter_ignore_ #ifdef __cplusplus diff --git a/level_3/fss_extended_list_write/data/build/settings b/level_3/fss_extended_list_write/data/build/settings index a821d4d..25a9469 100644 --- a/level_3/fss_extended_list_write/data/build/settings +++ b/level_3/fss_extended_list_write/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/fss_extended_read/c/main.c b/level_3/fss_extended_read/c/main.c index d4bf3e5..aca350b 100644 --- a/level_3/fss_extended_read/c/main.c +++ b/level_3/fss_extended_read/c/main.c @@ -1,6 +1,6 @@ #include "fss_extended_read.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; fss_extended_read_data_t data = fss_extended_read_data_t_initialize; diff --git a/level_3/fss_extended_read/c/private-fss_extended_read.c b/level_3/fss_extended_read/c/private-fss_extended_read.c index 1fe67fb..7d79bf7 100644 --- a/level_3/fss_extended_read/c/private-fss_extended_read.c +++ b/level_3/fss_extended_read/c/private-fss_extended_read.c @@ -132,7 +132,7 @@ extern "C" { if (status_code == F_memory_not) { f_color_print(data.error.to.stream, data.context.set.error, "%sUnable to allocate memory.%c", fll_error_print_error, f_string_eol_s[0]); } - else if (status_code == f_array_length_t_size) { + else if (status_code == F_string_too_large) { f_color_print(data.error.to.stream, data.context.set.error, "%sUnable to process '", fll_error_print_error); f_color_print(data.error.to.stream, data.context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_read_long_trim); f_color_print(data.error.to.stream, data.context.set.error, "' because the maximum buffer size was reached.%c", f_string_eol_s[0]); diff --git a/level_3/fss_extended_read/c/private-fss_extended_read.h b/level_3/fss_extended_read/c/private-fss_extended_read.h index 9cdaece..b2c2b4a 100644 --- a/level_3/fss_extended_read/c/private-fss_extended_read.h +++ b/level_3/fss_extended_read/c/private-fss_extended_read.h @@ -122,7 +122,7 @@ extern "C" { * F_false if not delimited. */ #ifndef _di_fss_extended_read_is_delimited_at_depth_ - extern f_status_t fss_extended_read_is_delimited_at_depth(const fss_extended_read_data_t data, const f_array_length_t depth) f_gcc_attribute_visibility_internal; + extern f_status_t fss_extended_read_is_delimited_at_depth(const fss_extended_read_data_t data, const f_array_length_t depth) f_attribute_visibility_internal; #endif // _di_fss_extended_read_is_delimited_at_depth_ /** @@ -143,7 +143,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_fss_extended_read_main_preprocess_depth_ - extern f_status_t fss_extended_read_main_preprocess_depth(const f_console_arguments_t arguments, const fss_extended_read_data_t data, fss_extended_read_depths_t *depths) f_gcc_attribute_visibility_internal; + extern f_status_t fss_extended_read_main_preprocess_depth(const f_console_arguments_t arguments, const fss_extended_read_data_t data, fss_extended_read_depths_t *depths) f_attribute_visibility_internal; #endif // _di_fss_extended_read_main_preprocess_depth_ /** @@ -170,7 +170,7 @@ extern "C" { * @see fss_extended_read_main_preprocess_depth() */ #ifndef _di_fss_extended_read_main_process_file_ - extern f_status_t fss_extended_read_main_process_file(const f_console_arguments_t arguments, fss_extended_read_data_t *data, const f_string_t file_name, const fss_extended_read_depths_t depths, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits) f_gcc_attribute_visibility_internal; + extern f_status_t fss_extended_read_main_process_file(const f_console_arguments_t arguments, fss_extended_read_data_t *data, const f_string_t file_name, const fss_extended_read_depths_t depths, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits) f_attribute_visibility_internal; #endif // _di_fss_extended_read_main_process_file_ /** @@ -180,7 +180,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_extended_read_print_object_end_ - extern void fss_extended_read_print_object_end(const fss_extended_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_extended_read_print_object_end(const fss_extended_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_extended_read_print_object_end_ /** @@ -190,7 +190,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_extended_read_print_content_end_ - extern void fss_extended_read_print_content_end(const fss_extended_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_extended_read_print_content_end(const fss_extended_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_extended_read_print_content_end_ /** @@ -200,7 +200,7 @@ extern "C" { * The program specific data. */ #ifndef _di_fss_extended_read_print_set_end_ - extern void fss_extended_read_print_set_end(const fss_extended_read_data_t data) f_gcc_attribute_visibility_internal; + extern void fss_extended_read_print_set_end(const fss_extended_read_data_t data) f_attribute_visibility_internal; #endif // _di_fss_extended_read_print_set_end_ #ifdef __cplusplus diff --git a/level_3/fss_extended_read/data/build/settings b/level_3/fss_extended_read/data/build/settings index fb97dc5..9167e0e 100644 --- a/level_3/fss_extended_read/data/build/settings +++ b/level_3/fss_extended_read/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/fss_extended_write/c/main.c b/level_3/fss_extended_write/c/main.c index fbadc6e..d6633c0 100644 --- a/level_3/fss_extended_write/c/main.c +++ b/level_3/fss_extended_write/c/main.c @@ -1,6 +1,6 @@ #include "fss_extended_write.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; fss_extended_write_data_t data = fss_extended_write_data_t_initialize; diff --git a/level_3/fss_extended_write/c/private-fss_extended_write.h b/level_3/fss_extended_write/c/private-fss_extended_write.h index 1df353d..c8f2be3 100644 --- a/level_3/fss_extended_write/c/private-fss_extended_write.h +++ b/level_3/fss_extended_write/c/private-fss_extended_write.h @@ -23,7 +23,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_extended_write_error_parameter_at_least_once_print_ - void fss_extended_write_error_parameter_at_least_once(const fss_extended_write_data_t data) f_gcc_attribute_visibility_internal; + void fss_extended_write_error_parameter_at_least_once(const fss_extended_write_data_t data) f_attribute_visibility_internal; #endif // _di_fss_extended_write_error_parameter_at_least_once_print_ /** @@ -41,7 +41,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_extended_write_error_parameter_value_missing_print_ - void fss_extended_write_error_parameter_value_missing_print(const fss_extended_write_data_t data, const f_string_t symbol, const f_string_t parameter) f_gcc_attribute_visibility_internal; + void fss_extended_write_error_parameter_value_missing_print(const fss_extended_write_data_t data, const f_string_t symbol, const f_string_t parameter) f_attribute_visibility_internal; #endif // _di_fss_extended_write_error_parameter_value_missing_print_ /** @@ -55,7 +55,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_extended_write_error_parameter_unsupported_eol_print_ - void fss_extended_write_error_parameter_unsupported_eol_print(const fss_extended_write_data_t data) f_gcc_attribute_visibility_internal; + void fss_extended_write_error_parameter_unsupported_eol_print(const fss_extended_write_data_t data) f_attribute_visibility_internal; #endif // _di_fss_extended_write_error_parameter_unsupported_eol_print_ /** @@ -82,7 +82,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_extended_write_process_ - extern f_status_t fss_extended_write_process(const fss_extended_write_data_t data, const f_file_t output, const f_fss_quote_t quote, const f_string_static_t *object, const f_string_statics_t *contents, f_string_dynamic_t *buffer) f_gcc_attribute_visibility_internal; + extern f_status_t fss_extended_write_process(const fss_extended_write_data_t data, const f_file_t output, const f_fss_quote_t quote, const f_string_static_t *object, const f_string_statics_t *contents, f_string_dynamic_t *buffer) f_attribute_visibility_internal; #endif // _di_fss_extended_write_process_ /** @@ -103,7 +103,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_fss_extended_write_process_pipe_ - extern f_status_t fss_extended_write_process_pipe(const fss_extended_write_data_t data, const f_file_t output, const f_fss_quote_t quote, f_string_dynamic_t *buffer) f_gcc_attribute_visibility_internal; + extern f_status_t fss_extended_write_process_pipe(const fss_extended_write_data_t data, const f_file_t output, const f_fss_quote_t quote, f_string_dynamic_t *buffer) f_attribute_visibility_internal; #endif // _di_fss_extended_write_process_pipe_ #ifdef __cplusplus diff --git a/level_3/fss_extended_write/data/build/settings b/level_3/fss_extended_write/data/build/settings index ea7e03a..05cdf97 100644 --- a/level_3/fss_extended_write/data/build/settings +++ b/level_3/fss_extended_write/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/fss_status_code/c/main.c b/level_3/fss_status_code/c/main.c index 1880cb0..85ed255 100644 --- a/level_3/fss_status_code/c/main.c +++ b/level_3/fss_status_code/c/main.c @@ -1,6 +1,6 @@ #include "fss_status_code.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; fss_status_code_data_t data = fss_status_code_data_t_initialize; diff --git a/level_3/fss_status_code/c/private-fss_status_code.h b/level_3/fss_status_code/c/private-fss_status_code.h index 4b7e8c2..65bbfdf 100644 --- a/level_3/fss_status_code/c/private-fss_status_code.h +++ b/level_3/fss_status_code/c/private-fss_status_code.h @@ -34,7 +34,7 @@ extern "C" { * @see fss_status_code_convert_number() */ #ifndef _di_fss_status_code_process_check_ - extern f_status_t fss_status_code_process_check(const fss_status_code_data_t data, const f_string_t value) f_gcc_attribute_visibility_internal; + extern f_status_t fss_status_code_process_check(const fss_status_code_data_t data, const f_string_t value) f_attribute_visibility_internal; #endif // _di_fss_status_code_process_check_ /** @@ -56,7 +56,7 @@ extern "C" { * @see fll_fss_status_from_string() */ #ifndef _di_fss_status_code_process_number_ - extern f_status_t fss_status_code_process_number(const fss_status_code_data_t data, const f_string_t value) f_gcc_attribute_visibility_internal; + extern f_status_t fss_status_code_process_number(const fss_status_code_data_t data, const f_string_t value) f_attribute_visibility_internal; #endif // _di_fss_status_code_process_number_ /** @@ -83,7 +83,7 @@ extern "C" { * @see fss_status_code_convert_number() */ #ifndef _di_fss_status_code_process_normal_ - extern f_status_t fss_status_code_process_normal(const fss_status_code_data_t data, const f_string_t value) f_gcc_attribute_visibility_internal; + extern f_status_t fss_status_code_process_normal(const fss_status_code_data_t data, const f_string_t value) f_attribute_visibility_internal; #endif // _di_fss_status_code_process_normal_ /** @@ -111,7 +111,7 @@ extern "C" { * @see fl_console_parameter_to_number_unsigned() */ #ifndef _di_fss_status_code_convert_number_ - extern f_status_t fss_status_code_convert_number(const fss_status_code_data_t data, const f_string_t value, f_number_unsigned_t *number) f_gcc_attribute_visibility_internal; + extern f_status_t fss_status_code_convert_number(const fss_status_code_data_t data, const f_string_t value, f_number_unsigned_t *number) f_attribute_visibility_internal; #endif // _di_fss_status_code_convert_number_ #ifdef __cplusplus diff --git a/level_3/fss_status_code/data/build/settings b/level_3/fss_status_code/data/build/settings index 993c5b3..3873dc8 100644 --- a/level_3/fss_status_code/data/build/settings +++ b/level_3/fss_status_code/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/iki_read/c/iki_read.c b/level_3/iki_read/c/iki_read.c index 83d0f5c..895f872 100644 --- a/level_3/iki_read/c/iki_read.c +++ b/level_3/iki_read/c/iki_read.c @@ -55,11 +55,11 @@ extern "C" { f_color_print(output.stream, context.set.notable, "<"); fprintf(output.stream, "%s", iki_read_substitution_vocabulary); f_color_print(output.stream, context.set.notable, ">"); - fprintf(output.stream, f_string_space_s); + fprintf(output.stream, "%s", f_string_space_s); f_color_print(output.stream, context.set.notable, "<"); fprintf(output.stream, "%s", iki_read_substitution_replace); f_color_print(output.stream, context.set.notable, ">"); - fprintf(output.stream, f_string_space_s); + fprintf(output.stream, "%s", f_string_space_s); f_color_print(output.stream, context.set.notable, "<"); fprintf(output.stream, "%s", iki_read_substitution_with); f_color_print(output.stream, context.set.notable, ">"); diff --git a/level_3/iki_read/c/main.c b/level_3/iki_read/c/main.c index 2b91ba5..8c45e40 100644 --- a/level_3/iki_read/c/main.c +++ b/level_3/iki_read/c/main.c @@ -1,6 +1,6 @@ #include "iki_read.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; iki_read_data_t data = iki_read_data_t_initialize; diff --git a/level_3/iki_read/c/private-iki_read.h b/level_3/iki_read/c/private-iki_read.h index 2d75619..658610c 100644 --- a/level_3/iki_read/c/private-iki_read.h +++ b/level_3/iki_read/c/private-iki_read.h @@ -35,7 +35,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_iki_read_process_at_ - extern f_status_t iki_read_process_at(const f_console_arguments_t arguments, const f_string_t file_name, iki_read_data_t *data, f_string_range_t *range) f_gcc_attribute_visibility_internal; + extern f_status_t iki_read_process_at(const f_console_arguments_t arguments, const f_string_t file_name, iki_read_data_t *data, f_string_range_t *range) f_attribute_visibility_internal; #endif // _di_iki_read_process_at_ /** @@ -55,7 +55,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_iki_read_process_buffer_ - extern f_status_t iki_read_process_buffer(const f_console_arguments_t arguments, const f_string_t file_name, iki_read_data_t *data) f_gcc_attribute_visibility_internal; + extern f_status_t iki_read_process_buffer(const f_console_arguments_t arguments, const f_string_t file_name, iki_read_data_t *data) f_attribute_visibility_internal; #endif // _di_iki_read_process_buffer_ /** @@ -86,7 +86,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_iki_read_process_buffer_ranges_ - extern f_status_t iki_read_process_buffer_ranges(const f_console_arguments_t arguments, const f_string_t file_name, iki_read_data_t *data, f_string_range_t *buffer_range, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content, f_string_ranges_t *ranges) f_gcc_attribute_visibility_internal; + extern f_status_t iki_read_process_buffer_ranges(const f_console_arguments_t arguments, const f_string_t file_name, iki_read_data_t *data, f_string_range_t *buffer_range, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content, f_string_ranges_t *ranges) f_attribute_visibility_internal; #endif // _di_iki_read_process_buffer_ranges_ /** @@ -119,7 +119,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_iki_read_process_buffer_ranges_whole_ - extern f_status_t iki_read_process_buffer_ranges_whole(const f_console_arguments_t arguments, const f_string_t file_name, const f_string_range_t buffer_range, iki_read_data_t *data, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content, f_string_ranges_t *ranges) f_gcc_attribute_visibility_internal; + extern f_status_t iki_read_process_buffer_ranges_whole(const f_console_arguments_t arguments, const f_string_t file_name, const f_string_range_t buffer_range, iki_read_data_t *data, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content, f_string_ranges_t *ranges) f_attribute_visibility_internal; #endif // _di_iki_read_process_buffer_ranges_whole_ /** @@ -144,7 +144,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_iki_read_process_buffer_total_ - extern f_status_t iki_read_process_buffer_total(const f_console_arguments_t arguments, const f_string_t file_name, iki_read_data_t *data, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content) f_gcc_attribute_visibility_internal; + extern f_status_t iki_read_process_buffer_total(const f_console_arguments_t arguments, const f_string_t file_name, iki_read_data_t *data, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content) f_attribute_visibility_internal; #endif // _di_iki_read_process_buffer_total_ /** @@ -167,7 +167,7 @@ extern "C" { * Status codes (with error bit) are returned on any problem. */ #ifndef _di_iki_read_substitutions_identify_ - extern f_status_t iki_read_substitutions_identify(const f_console_arguments_t arguments, const f_string_t file_name, iki_read_data_t *data, f_iki_vocabulary_t *vocabulary, iki_read_substitutions_t *substitutionss) f_gcc_attribute_visibility_internal; + extern f_status_t iki_read_substitutions_identify(const f_console_arguments_t arguments, const f_string_t file_name, iki_read_data_t *data, f_iki_vocabulary_t *vocabulary, iki_read_substitutions_t *substitutionss) f_attribute_visibility_internal; #endif // _di_iki_read_substitutions_identify_ /** @@ -190,7 +190,7 @@ extern "C" { * Set to FALSE to print the entire variable when printing substituted text. */ #ifndef _di_iki_read_substitutions_print_ - extern void iki_read_substitutions_print(const iki_read_data_t data, const f_iki_variable_t variable, const f_iki_content_t content, const f_string_ranges_t ranges, const iki_read_substitutions_t substitutions, const f_array_length_t index, const bool content_only) f_gcc_attribute_visibility_internal; + extern void iki_read_substitutions_print(const iki_read_data_t data, const f_iki_variable_t variable, const f_iki_content_t content, const f_string_ranges_t ranges, const iki_read_substitutions_t substitutions, const f_array_length_t index, const bool content_only) f_attribute_visibility_internal; #endif // _di_iki_read_substitutions_print_ #ifdef __cplusplus diff --git a/level_3/iki_read/data/build/settings b/level_3/iki_read/data/build/settings index e44df30..22dd03e 100644 --- a/level_3/iki_read/data/build/settings +++ b/level_3/iki_read/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/iki_write/c/main.c b/level_3/iki_write/c/main.c index b1614de..13255b7 100644 --- a/level_3/iki_write/c/main.c +++ b/level_3/iki_write/c/main.c @@ -1,6 +1,6 @@ #include "iki_write.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; iki_write_data_t data = iki_write_data_t_initialize; diff --git a/level_3/iki_write/c/private-iki_write.h b/level_3/iki_write/c/private-iki_write.h index 9e0795a..4a94079 100644 --- a/level_3/iki_write/c/private-iki_write.h +++ b/level_3/iki_write/c/private-iki_write.h @@ -34,7 +34,7 @@ extern "C" { * F_failure (with error bit) for any othe failure. */ #ifndef _di_iki_write_process_ - extern f_status_t iki_write_process(const iki_write_data_t data, const f_file_t output, const f_string_static_t object, const f_string_static_t content, const uint8_t quote, f_string_dynamic_t *escaped) f_gcc_attribute_visibility_internal; + extern f_status_t iki_write_process(const iki_write_data_t data, const f_file_t output, const f_string_static_t object, const f_string_static_t content, const uint8_t quote, f_string_dynamic_t *escaped) f_attribute_visibility_internal; #endif // _di_iki_write_process_ #ifdef __cplusplus diff --git a/level_3/iki_write/data/build/settings b/level_3/iki_write/data/build/settings index ba2325f..10da76b 100644 --- a/level_3/iki_write/data/build/settings +++ b/level_3/iki_write/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC diff --git a/level_3/status_code/c/main.c b/level_3/status_code/c/main.c index 0dd8145..d01da5e 100644 --- a/level_3/status_code/c/main.c +++ b/level_3/status_code/c/main.c @@ -1,6 +1,6 @@ #include "status_code.h" -int main(const unsigned long argc, const f_string_t *argv) { +int main(const int argc, const f_string_t *argv) { const f_console_arguments_t arguments = { argc, argv }; status_code_data_t data = status_code_data_t_initialize; diff --git a/level_3/status_code/c/private-status_code.h b/level_3/status_code/c/private-status_code.h index 98e9bec..431f2a0 100644 --- a/level_3/status_code/c/private-status_code.h +++ b/level_3/status_code/c/private-status_code.h @@ -34,7 +34,7 @@ extern "C" { * @see fss_status_code_convert_number() */ #ifndef _di_status_code_process_check_ - extern f_status_t status_code_process_check(const status_code_data_t data, const f_string_t value) f_gcc_attribute_visibility_internal; + extern f_status_t status_code_process_check(const status_code_data_t data, const f_string_t value) f_attribute_visibility_internal; #endif // _di_status_code_process_check_ /** @@ -56,7 +56,7 @@ extern "C" { * @see fll_fss_status_from_string() */ #ifndef _di_status_code_process_number_ - extern f_status_t status_code_process_number(const status_code_data_t data, const f_string_t value) f_gcc_attribute_visibility_internal; + extern f_status_t status_code_process_number(const status_code_data_t data, const f_string_t value) f_attribute_visibility_internal; #endif // _di_status_code_process_number_ /** @@ -83,7 +83,7 @@ extern "C" { * @see fss_status_code_convert_number() */ #ifndef _di_status_code_process_normal_ - extern f_status_t status_code_process_normal(const status_code_data_t data, const f_string_t value) f_gcc_attribute_visibility_internal; + extern f_status_t status_code_process_normal(const status_code_data_t data, const f_string_t value) f_attribute_visibility_internal; #endif // _di_status_code_process_normal_ /** @@ -111,7 +111,7 @@ extern "C" { * @see fl_console_parameter_to_number_unsigned() */ #ifndef _di_status_code_convert_number_ - extern f_status_t status_code_convert_number(const status_code_data_t data, const f_string_t value, f_number_unsigned_t *number) f_gcc_attribute_visibility_internal; + extern f_status_t status_code_convert_number(const status_code_data_t data, const f_string_t value, f_number_unsigned_t *number) f_attribute_visibility_internal; #endif // _di_status_code_convert_number_ #ifdef __cplusplus diff --git a/level_3/status_code/data/build/settings b/level_3/status_code/data/build/settings index 6161f4b..850521d 100644 --- a/level_3/status_code/data/build/settings +++ b/level_3/status_code/data/build/settings @@ -50,7 +50,7 @@ defines_all defines_static defines_shared -flags_all -z now -g -fdiagnostics-color=always +flags_all -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses flags_shared flags_static flags_library -fPIC