msvcrt/tests: Fix the signal handler calling convention.

This commit is contained in:
Alexandre Julliard 2009-12-09 12:04:41 +01:00
parent 506a62776c
commit da9bc130c6
1 changed files with 2 additions and 4 deletions

View File

@ -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);