For some odd reason I was copying an example in another language of which does not use types, and forgot to add one in to a function definition parameter, and it worked.
K&R-style function declaration:
void foo(n) int n; { }
If type isn't specified, it defaults to int. This is valid in C89, not C99