mirror of
https://github.com/pret/pmd-sky.git
synced 2026-10-01 14:48:14 -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>
18 lines
324 B
C
18 lines
324 B
C
#ifndef PMDSKY_MAIN_02008194_H
|
|
#define PMDSKY_MAIN_02008194_H
|
|
|
|
#include "file.h"
|
|
|
|
struct unk_020AF360 {
|
|
u8 field_0x0[4];
|
|
s32 field_0x4;
|
|
};
|
|
|
|
void FileRom_StopDataTransfer(void);
|
|
void sub_020081C8(void);
|
|
void sub_020081DC(void);
|
|
void sub_020081F0(void);
|
|
void FileRom_Veneer_FileInit(struct file_stream* file);
|
|
|
|
#endif
|