Problem in exporting a dll function
I have a win32 dll workspace. In this workspace i have most of the files as .c files. I want to export one of the function from this dll. The function is a static function. so for that function if i export it in this way
__declspec(dllexport) static rdiff_sig(const char *BasisPath, const char *SigPath);
i am getting one error message as below.
error C2201: 'rdiff_sig' : must have external linkage in order to be exported/imported
What should i do to solve this problem.