msvcrt/tests: Fix the signal handler calling convention.
This commit is contained in:
parent
506a62776c
commit
da9bc130c6
|
@ -24,16 +24,14 @@
|
|||
|
||||
static int test_value = 0;
|
||||
|
||||
typedef void (sighandler_type)(int);
|
||||
|
||||
static void sighandler(int signum)
|
||||
static void __cdecl sighandler(int signum)
|
||||
{
|
||||
++test_value;
|
||||
}
|
||||
|
||||
static void test_signal(void)
|
||||
{
|
||||
sighandler_type *old;
|
||||
void (__cdecl *old)(int);
|
||||
int res;
|
||||
|
||||
old = signal(SIGBREAK, sighandler);
|
||||
|
|
Loading…
Reference in New Issue