Keep your declarations on a single line:
int fun(void*);
And grep -r fun *.h
Will tell you everything you need int fun(void*);
And grep -r fun *.h
Will tell you everything you need