]> Kevux Git Server - fll/commitdiff
Cleanup: use 'warn' instead of 'warning'.
authorKevin Day <thekevinday@gmail.com>
Tue, 14 Jul 2020 02:38:53 +0000 (21:38 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 14 Jul 2020 02:38:53 +0000 (21:38 -0500)
level_3/fake/c/private-make.c
level_3/fake/c/private-make.h

index 97d08dc0a1abeb08bfbd885603c83e3577bfeb35..cec57f3bdae7659c0eddc6b16383c71dfe6ff652 100644 (file)
@@ -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);
index 98b1717918440edd463891013d3be12ce0cc266a..1e6a832c7e2a7c15fe924820d024bfeaf116418d 100644 (file)
@@ -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,