Even if my typedef code is before the functions and I make my own function prototypes, functions returning a custom type cause an error (because the preprocessor puts function prototypes with an unknown type at the start of the file, before the typedefs).
Even if my typedef code is before the functions and I make my own function prototypes, functions returning a custom type cause an error (because the preprocessor puts function prototypes with an unknown type at the start of the file, before the typedefs).