Actually, in C if you declare a function prototype's argument list as (), this means "I don't know and I don't care what the argument list is", which is different from saying (void), which means "This function takes no parameters". And in C's case the code will still compile and link either way, since name-mangling doesn't occur (the symbol name will be the same regardless of which arguments the function takes).

So the worst that will happen is you get undefined arguments in the function. Which is pretty bad, really. But you probably won't get errors about it, just warnings, which is another reason to pay attention to warnings.