In the code I am writing I need foo(int, char*) and foo(int, int) functions.
foo(int, char*)
foo(int, int)
If I was coding this in C++ I would use templates. Is there any equivalent for C? Or should I use void pointers? How?