Generate include statements programatically, make declarations consistent with declarations and treat warnings as fatal

This commit is contained in:
Ryan Dwyer
2020-02-10 17:09:03 +10:00
parent 40592d833d
commit 4f391275c1
253 changed files with 1787 additions and 454 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ s32 func0000113c(void);
s32 func00001180(void);
s32 func000016c0(void);
s32 func000018ac(void);
s32 func00001b28(void);
void func00001b28(u32 arg0);
s32 func00001e30(void);
s32 func00001fa8(void);
s32 func00002148(void);
+2 -2
View File
@@ -3,7 +3,7 @@
#include <ultra64.h>
#include "types.h"
u32 func0f000090(void);
u32 func0f000100(void);
void func0f000090(void);
void func0f000100(void);
#endif
+1 -1
View File
@@ -3,6 +3,6 @@
#include <ultra64.h>
#include "types.h"
u32 func0f000850(void);
void func0f000850(void);
#endif
+1 -1
View File
@@ -3,6 +3,6 @@
#include <ultra64.h>
#include "types.h"
u32 func0f000860(void);
void func0f000860(void);
#endif
+1 -1
View File
@@ -4,6 +4,6 @@
#include "types.h"
u32 func0f014f10(void);
u32 func0f014fe0(void);
void func0f014fe0(void);
#endif
+1 -1
View File
@@ -3,6 +3,6 @@
#include <ultra64.h>
#include "types.h"
u32 func0f015260(void);
void func0f015260(void);
#endif
+1 -1
View File
@@ -3,6 +3,6 @@
#include <ultra64.h>
#include "types.h"
u32 func0f015270(void);
void func0f015270(void);
#endif
+1 -1
View File
@@ -160,7 +160,7 @@ u32 func0f0a94d0(void);
void func0f0a95ec(u32 arg0, u32 arg1);
void currentPlayerGiveAmmo(s32 ammotype, s32 quantity);
u32 func0f0a9770(void);
u32 currentPlayerGetAmmoCount(s8 arg0);
s32 currentPlayerGetAmmoCount(s8 arg0);
u32 func0f0a98f4(void);
u32 func0f0a9910(void);
u32 func0f0a9980(void);
+1 -1
View File
@@ -43,7 +43,7 @@ u32 func0f0b5008(void);
u32 func0f0b5018(void);
u32 func0f0b5050(void);
u32 func0f0b53a4(void);
u32 func0f0b56f8(void);
struct coord *func0f0b56f8(void);
u32 func0f0b5708(void);
u32 func0f0b5718(void);
u32 func0f0b5758(void);
+1 -1
View File
@@ -73,7 +73,7 @@ s32 menuhandlerDeleteFiles(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandlerPakConfirmDelete(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandler0010b14c(u32, u32, u32 *);
s32 menuhandlerPakSelection(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandlerAgentName(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandlerAgentName(u32 operation, struct menu_item *item, char **value);
s32 menuhandler0010ca1c(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandler0010cabc(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandler4MbAdvancedSetup(u32 operation, struct menu_item *item, s32 *value);
+1 -1
View File
@@ -59,7 +59,7 @@ u32 func0f128a9c(void);
u32 func0f128ab8(void);
u32 func0f128ad4(void);
u32 func0f128ae4(void);
u32 func0f128af4(void);
s32 func0f128af4(s32 arg0);
u32 func0f128cf0(void);
u32 func0f128d20(void);
u32 func0f128dbc(void);
+1 -1
View File
@@ -3,7 +3,7 @@
#include <ultra64.h>
#include "types.h"
void func0f129900(struct prop *prop, struct coord *pos, s16 room, s32 arg3, s32 arg4);
u32 func0f129900(struct prop *prop, struct coord *pos, s16 *room, s32 arg3, s32 arg4);
u32 func0f129940(void);
u32 func0f129b08(void);
u32 func0f129ba4(void);
+2 -2
View File
@@ -4,7 +4,7 @@
#include "types.h"
void func0f175f90(void);
u32 func0f175f98(void);
u32 func0f175fc8(void);
void func0f175f98(void);
void func0f175fc8(void);
#endif
+1 -1
View File
@@ -3,6 +3,6 @@
#include <ultra64.h>
#include "types.h"
f32 scaleTo1(f32 *x, f32 *y, f32 *z);
void scaleTo1(f32 *x, f32 *y, f32 *z);
#endif
+1 -1
View File
@@ -18,6 +18,6 @@ u32 func0000cc34(void);
u32 func0000cd4c(void);
u32 func0000cdc8(void);
u32 func0000cef8(void);
void func0000cf54(void);
void func0000cf54(u32 arg0);
#endif
+1 -1
View File
@@ -8,7 +8,7 @@ u32 func00011700(void);
u32 func00011780(void);
u32 func00011884(void);
u32 func000118f4(void);
u32 func0001190c(void);
void func0001190c(s32 arg0);
u32 func00011d84(void);
#endif
+2 -2
View File
@@ -3,9 +3,9 @@
#include <ultra64.h>
#include "types.h"
char *strcpy(char *dest, const char *src);
char *strcpy(char *dest, char *src);
u32 func000131c8(void);
u32 func00013224(void);
u32 func00013224(char *dst, char *src);
u32 func00013274(void);
u32 func00013274(void);
u32 func000132c0(void);
+1 -1
View File
@@ -5,7 +5,7 @@
void func000159b0(u32 *obj48_20);
u32 func000159fc(void);
void func00015b10(struct coord *globaldrawcameraoffset);
void func00015b10(struct coord *globaldrawcameraoffset, struct coord *coord);
u32 func00015b64(void);
u32 func00015be0(void);
u32 func00015be4(void);
+2 -2
View File
@@ -6,8 +6,8 @@
u32 func000481e0(void);
u32 func000481f0(void);
void func00048340(u32 *arg0, u32 *arg1, s32 arg2);
u32 func00048370(void);
void func00048370(s32 arg0);
void func00048430(s32 arg0, s32 arg1);
void func00048510(void);
u32 func00048510(void);
#endif