From 0b28e1569f6d30935907901e0f259bbd19c25fb5 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 13 Jul 2020 21:38:53 -0500 Subject: [PATCH] Cleanup: use 'warn' instead of 'warning'. --- level_3/fake/c/private-make.c | 2 +- level_3/fake/c/private-make.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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, -- 1.8.3.1