From 21f694c88fad2e9626952318f2a4b6f483a96dee Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Fri, 1 Apr 2022 22:53:45 -0500 Subject: [PATCH] Regression: Invalid syntax in fake program. I thought I compiled this to confirm that the code was correct. Apparently not. Fix the syntax so that the code compiles. --- level_3/fake/c/fake.c | 2 +- level_3/fake/c/private-make-load_fakefile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/level_3/fake/c/fake.c b/level_3/fake/c/fake.c index 3d61ebd..1ea2765 100644 --- a/level_3/fake/c/fake.c +++ b/level_3/fake/c/fake.c @@ -340,7 +340,7 @@ extern "C" { break; } - data->main->signal_check = 0; + main->signal_check = 0; } if (F_status_is_error(status)) { diff --git a/level_3/fake/c/private-make-load_fakefile.c b/level_3/fake/c/private-make-load_fakefile.c index 4a61715..9a12fc0 100644 --- a/level_3/fake/c/private-make-load_fakefile.c +++ b/level_3/fake/c/private-make-load_fakefile.c @@ -88,7 +88,7 @@ extern "C" { f_fss_set_t settings = f_fss_set_t_initialize; - f_state_t state = macro_f_state_t_initialize(fake_common_allocation_large_d, fake_common_allocation_small_d, 0, &fll_program_standard_signal_state, (void *) data_make->data, 0); + f_state_t state = macro_f_state_t_initialize(fake_common_allocation_large_d, fake_common_allocation_small_d, 0, &fll_program_standard_signal_state, 0, (void *) data_make->data, 0); if (list_objects.used > data_make->fakefile.size) { macro_f_fss_nameds_t_resize((*status), data_make->fakefile, list_objects.used); -- 1.8.3.1