From d7bb3ae8dd586b947ef5fe7630ba280f525ae7fe Mon Sep 17 00:00:00 2001 From: Drew T <50529377+Druthulu@users.noreply.github.com> Date: Wed, 26 Aug 2026 00:38:27 -0600 Subject: [PATCH] =?UTF-8?q?fix(src):=20ov=5FSC04=5F018=5Fjr=5F8017AE2C.c?= =?UTF-8?q?=20compiles=20again=20under=20the=20TU-alone/rtu=20view=20?= =?UTF-8?q?=E2=80=94=20reinsert=20the=20dropped=20extern,=20drop=20the=20c?= =?UTF-8?q?onflicting=20(void)=20proto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A 08-25 'fix RED' commit (commit:2833) restored func_8017E7CC's body but not its 'extern s32 D_801B9AA8;' and left an 'extern void func_8017E7CC(void);' after the (int) definition. Under the INCLUDE_ASM-neutralized view every rtu/TU-alone judgment of ANY draft for this TU died on that line — the resolver billed it to 39 separate drafts as 'undeclared' (measured by the decl-from-use negative-control agent; its verdicts in .run/decl_from_use/). The real-build pads drift for this binary is a separate open repair; it stays on .run/baseline_red.txt. --- src/ov_SC04_018/ov_SC04_018_jr_8017AE2C.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ov_SC04_018/ov_SC04_018_jr_8017AE2C.c b/src/ov_SC04_018/ov_SC04_018_jr_8017AE2C.c index 3c0a2f80a0..ea2cfa2c2a 100644 --- a/src/ov_SC04_018/ov_SC04_018_jr_8017AE2C.c +++ b/src/ov_SC04_018/ov_SC04_018_jr_8017AE2C.c @@ -4819,6 +4819,7 @@ extern void func_8012A828(s32 *a0, s32 a1); } +extern s32 D_801B9AA8; void func_8017E7CC(int param_1) { *(short *)(param_1 + 3) = 2; @@ -4909,7 +4910,6 @@ void func_8017EBA0(s32 a0) { -extern void func_8017E7CC(void); void func_8017EBE0(u8 *a0) { if (*(u16 *)((s32)a0 + 0x34) == 1) { func_8017E7CC();