In my A.h file
Node RemoveString(Node (*)(char,Node));
Node Minimum(char, Node);
In my A.c file
Node Minimum(char type, Node node) {......}
Node RemoveString(Node(*Minimum)(char, Node)) {...}
In my B.h file
void Test_Function(Node (*)(char,Node));
In my B.c file
void Test_Function(Node(*Minimum)(char, Node)) {...}
In my Main.c
Test_Function(Node(*Minimum)(char, Node));//This line has error.
Node is defined in A.h
B.h include "A.h"
Main.c include "B.h"
The compiler complains that error: expected expression before ‘Node’
Can anybody tell me why ?What i did wrong in this case?
Test_Function(&Minimum);
– Timo