mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-12 01:40:47 +00:00
Cleanup includes in header files (#2540)
* Cleanup includes in header files * include libc headers without libc/ prefix * fix * fix2 * fix3 * fix4 * some bss lol * bss * fix
This commit is contained in:
parent
f7073a7837
commit
6d56b1b8e0
49 changed files with 62 additions and 49 deletions
|
@ -1,5 +1,7 @@
|
|||
#include "libaudio.h"
|
||||
#include "synthInternals.h"
|
||||
#include "stdbool.h"
|
||||
#include "stddef.h"
|
||||
|
||||
// WARNING: THE FOLLOWING CONSTANT MUST BE KEPT IN SYNC WITH SCALING IN MICROCODE!!!
|
||||
#define SCALE 16384
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "libaudio.h"
|
||||
#include "synthInternals.h"
|
||||
#include "libc/math.h"
|
||||
#include "stdbool.h"
|
||||
#include "stddef.h"
|
||||
#include "ultra64/convert.h"
|
||||
|
||||
#define EQPOWER_LENGTH 128
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "libaudio.h"
|
||||
#include "synthInternals.h"
|
||||
#include "stddef.h"
|
||||
|
||||
void alFilterNew(ALFilter* f, ALCmdHandler h, ALSetParam s, s32 type) {
|
||||
f->source = NULL;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "libaudio.h"
|
||||
#include "synthInternals.h"
|
||||
#include "stddef.h"
|
||||
|
||||
void* alHeapDBAlloc(u8* file, s32 line, ALHeap* hp, s32 num, s32 size) {
|
||||
s32 bytes;
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
#ifndef __LIB_AUDIO__
|
||||
#define __LIB_AUDIO__
|
||||
|
||||
#include "libc/stdbool.h"
|
||||
#include "libc/stddef.h"
|
||||
#include "libc/stdint.h"
|
||||
#include "ultra64/ultratypes.h"
|
||||
|
||||
#include "libaudio_abi.h"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#include "libaudio.h"
|
||||
#include "synthInternals.h"
|
||||
#include "stdbool.h"
|
||||
#include "stddef.h"
|
||||
#include "stdint.h"
|
||||
#include "ultra64/R4300.h"
|
||||
|
||||
#ifndef MIN
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "libaudio.h"
|
||||
#include "synthInternals.h"
|
||||
#include "stdbool.h"
|
||||
#include "stddef.h"
|
||||
#include "ultra64/convert.h"
|
||||
|
||||
Acmd* alResamplePull(void* filter, s16* outp, s32 outCnt, s32 sampleOffset, Acmd* p) {
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#include "libaudio.h"
|
||||
#include "synthInternals.h"
|
||||
#include "stdbool.h"
|
||||
#include "stddef.h"
|
||||
#include "stdint.h"
|
||||
#include "ultra64/convert.h"
|
||||
|
||||
#define RANGE 2.0
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "libaudio.h"
|
||||
#include "stddef.h"
|
||||
|
||||
ALGlobals* alGlobals = NULL;
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include "libaudio.h"
|
||||
#include "synthInternals.h"
|
||||
|
||||
ALFxRef* alSynAllocFX(ALSynth* s, s16 bus, ALSynConfig* c, ALHeap* hp) {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "synthInternals.h"
|
||||
#include "libaudio.h"
|
||||
#include "stddef.h"
|
||||
|
||||
void alSynDelete(ALSynth* drvr) {
|
||||
drvr->head = NULL;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#include "libaudio.h"
|
||||
#include "synthInternals.h"
|
||||
#include "stddef.h"
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "libc/stddef.h"
|
||||
#include "stddef.h"
|
||||
|
||||
int strcmp(const char* s, const char* t) {
|
||||
while (*s == *t) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue