Fix many warnings (#195)

* Fix many warnings, mostly when using functions without including headers, and mostly in libultra files. Included a few warning ignores as well

* Add another warning fix

* Revert trailing comma for LogicUpdateRates
This commit is contained in:
Ryan Myers
2021-12-16 07:58:19 -05:00
committed by GitHub
parent c62f0db5e7
commit 247a69ae2f
33 changed files with 123 additions and 45 deletions
-1
View File
@@ -2,7 +2,6 @@
#define _OS_LIBC_H_
#include "ultratypes.h"
// Old deprecated functions from strings.h, replaced by memcpy/memset.
extern void bcopy(const void *, void *, size_t);
extern void bzero(void *, size_t);
+2
View File
@@ -94,4 +94,6 @@ s32 osPiRawReadIo(u32 devAddr, u32 *data);
s32 osPiRawStartDma(s32 dir, u32 cart_addr, void *dram_addr, size_t size);
s32 osEPiRawStartDma(OSPiHandle *piHandle, s32 dir, u32 cart_addr, void *dram_addr, size_t size);
s32 osEPiRawWriteIo(OSPiHandle *, u32 , u32);
#endif
+1
View File
@@ -87,6 +87,7 @@ void osViSetEvent(OSMesgQueue *mq, OSMesg msg, u32 retraceCount);
void osViBlack(u8 active);
void osViSetSpecialFeatures(u32 func);
void osViSwapBuffer(void *vaddr);
void osYieldThread(void);
#define OS_VI_NTSC_LPN1 0 /* NTSC */