fix(src): ov_SC04_018_jr_8017AE2C.c compiles again under the TU-alone/rtu view — reinsert the dropped extern, drop the conflicting (void) proto

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.
This commit is contained in:
Drew T
2026-08-26 00:38:27 -06:00
parent ad9b57328e
commit d7bb3ae8dd
+1 -1
View File
@@ -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();