![]() |
Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
|
Match incorrect type promotion for two declared functions. More...
Go to the source code of this file.
Macros | |
#define | GD_USE_BAD_DECLARATIONS 1 |
Functions | |
struct ObjFace * | make_face_with_colour () |
struct ObjLabel * | make_label () |
Match incorrect type promotion for two declared functions.
There is an issue with the compiled code for these function calls in files outside of the files in which they were defined. The only possible reason I can come up with for this behavior is that goddard only declared (not prototyped) his functions in the headers, and didn't include the header in the function's defining .c file (Even ido 5.0 cares about illegal promotion of types!)
Since that's an awful practice to emulate, include this file (first!) to prevent the proper prototypes of these functions from being seen by files with the the incorrectly compiled calls.
#define GD_USE_BAD_DECLARATIONS 1 |