mirror of
https://github.com/pret/pmd-sky.git
synced 2026-09-25 20:04:34 -05:00
The landing script added `#include "util.h"` to every header it generated, across this whole branch. That was never necessary for most of them: u8/u32/s32 and the rest of the base types are typedef'd in lib/include/nitro/types.h, which every translation unit already has through `-prefix global.mch`. 283 of the 460 headers in the tree that name u32 do not include util.h and build fine. util.h owns bool8, bool32, fx32_8, ufx32_8 and struct fixed_point/rgba/vec2_16 -- a header naming any of those genuinely needs it, and 61 of the 110 do. The other 49 carried it for nothing and are cleaned up here. Removal is .c-aware: util.h is kept wherever the header's paired source names a util.h-owned symbol and does not include util.h itself, so nothing loses it transitively. No functional change; verified byte-identical. Authored by Claude (Opus 5) under human direction. Confirmed by a matching build: build/pmdsky.us/pmdsky.us.nds: OK. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
13 lines
208 B
C
13 lines
208 B
C
#ifndef PMDSKY_MAIN_02065C48_H
|
|
#define PMDSKY_MAIN_02065C48_H
|
|
|
|
struct unk_020A68C8 {
|
|
s16 field_0x0;
|
|
s16 field_0x2;
|
|
};
|
|
extern struct unk_020A68C8 DEMO_TEAMS[];
|
|
|
|
void RandomizeDemoActors(void);
|
|
|
|
#endif
|