Fixes for C23 Support (#2138)

* fixes for c23 support
* include global.h in m4a.c & remove <string.h> include
This commit is contained in:
Kurausukun
2025-05-19 04:11:59 -04:00
committed by GitHub
parent 16357c7e29
commit e1e7d1cf35
7 changed files with 51 additions and 8 deletions

View File

@@ -170,7 +170,11 @@ struct SoundChannel
struct MusicPlayerInfo;
#if !MODERN
typedef void (*MPlayFunc)();
#else
typedef void (*MPlayFunc)(...);
#endif
typedef void (*PlyNoteFunc)(u32, struct MusicPlayerInfo *, struct MusicPlayerTrack *);
typedef void (*CgbSoundFunc)(void);
typedef void (*CgbOscOffFunc)(u8);