From: Kevin Day Date: Tue, 14 Jul 2020 02:38:53 +0000 (-0500) Subject: Cleanup: use 'warn' instead of 'warning'. X-Git-Tag: 0.5.0~86 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=0b28e1569f6d30935907901e0f259bbd19c25fb5;p=fll Cleanup: use 'warn' instead of 'warning'. --- diff --git a/level_3/fake/c/private-make.c b/level_3/fake/c/private-make.c index 97d08dc..cec57f3 100644 --- a/level_3/fake/c/private-make.c +++ b/level_3/fake/c/private-make.c @@ -787,7 +787,7 @@ extern "C" { else if (operation == fake_make_operation_type_fail) { if (arguments.used) { if (fl_string_dynamic_compare_string(fake_make_operation_argument_error, arguments.array[0], fake_make_operation_argument_error_length) == F_equal_to_not) { - if (fl_string_dynamic_compare_string(fake_make_operation_argument_warning, arguments.array[0], fake_make_operation_argument_warning_length) == F_equal_to_not) { + if (fl_string_dynamic_compare_string(fake_make_operation_argument_warn, arguments.array[0], fake_make_operation_argument_warn_length) == F_equal_to_not) { if (fl_string_dynamic_compare_string(fake_make_operation_argument_ignore, arguments.array[0], fake_make_operation_argument_ignore_length) == F_equal_to_not) { fake_print_error_section_operation(data, data_make.buffer,section_name, operation_name, "unsupported fail type '%s'", arguments.array[0].string); *status = F_status_set_error(F_failure); diff --git a/level_3/fake/c/private-make.h b/level_3/fake/c/private-make.h index 98b1717..1e6a832 100644 --- a/level_3/fake/c/private-make.h +++ b/level_3/fake/c/private-make.h @@ -134,7 +134,7 @@ extern "C" { #define fake_make_operation_argument_point "point" #define fake_make_operation_argument_recursive "recursive" #define fake_make_operation_argument_target "target" - #define fake_make_operation_argument_warning "warning" + #define fake_make_operation_argument_warn "warn" #define fake_make_operation_argument_file_length 4 #define fake_make_operation_argument_directory_length 9 @@ -143,7 +143,7 @@ extern "C" { #define fake_make_operation_argument_point_length 5 #define fake_make_operation_argument_recursive_length 9 #define fake_make_operation_argument_target_length 6 - #define fake_make_operation_argument_warning_length 7 + #define fake_make_operation_argument_warn_length 4 enum { fake_make_operation_if_type_if = 1,