Possible Duplicate:
How do you pass a function as a parameter in C?
Suppose I have a function called
void funct2(int a) {
}
void funct(int a, (void)(*funct2)(int a)) {
;
}
what is the proper way to call this function? What do I need to setup to get it to work?