mirror of https://github.com/BOINC/boinc.git
Unmangle symbol for public use from C.
svn path=/trunk/boinc/; revision=4968
This commit is contained in:
parent
3400c27518
commit
0fd97a6078
|
@ -101,8 +101,15 @@ void boinc_info_release(const char *pszFormat, ...);
|
|||
|
||||
#else // non-Win starts here
|
||||
#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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue