I am using an open source library, there are quite a few interesting functions prototypes defined this way in a non-interface header file:
#define somefunction _somefunction
void somefunction(int a);
I write my routine which calls somefunction(). After include the non-interface header, my routine can compile, but failed to link to the library. So I linked to the *.o files directly. It works, but the solution is ugly.
So the questions is how to reuse the internal functions from a library. Any suggestion?