Unmangle symbol for public use from C.

svn path=/trunk/boinc/; revision=4968
This commit is contained in:
Bruce Allen 2004-12-30 18:13:29 +00:00
parent 3400c27518
commit 0fd97a6078
1 changed files with 9 additions and 2 deletions

View File

@ -101,8 +101,15 @@ void boinc_info_release(const char *pszFormat, ...);
#else // non-Win starts here #else // non-Win starts here
#include <signal.h> #include <signal.h>
extern void boinc_set_signal_handler(int sig, void(*handler)(int));
extern void boinc_set_signal_handler_force(int sig, void(*handler)(int)); #ifdef __cpluplus
extern "C" {
#endif // __cpluplus
extern void boinc_set_signal_handler(int sig, void(*handler)(int));
extern void boinc_set_signal_handler_force(int sig, void(*handler)(int));
#ifdef __cpluplus
}
#endif // __cpluplus
#endif // ! _WIN32 #endif // ! _WIN32