mirror of
https://github.com/pret/pmd-sky.git
synced 2026-09-21 09:45:29 -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>
10 lines
237 B
C
10 lines
237 B
C
#ifndef PMDSKY_MAIN_02027A80_H
|
|
#define PMDSKY_MAIN_02027A80_H
|
|
|
|
void sub_02027A08(s32 window_id, s32 value);
|
|
void SetScreenWindowsColor(s32 color, s32 screen);
|
|
void SetBothScreensWindowsColor(s32 color);
|
|
void sub_02027AA0(s32 a);
|
|
|
|
#endif
|