Commit da9bc130 authored by Alexandre Julliard's avatar Alexandre Julliard

msvcrt/tests: Fix the signal handler calling convention.

parent 506a6277
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment