Commit cb1a76b6 authored by Ludovic Rousseau's avatar Ludovic Rousseau

Fix compiler warning: function declaration isn’t a prototype

pcsc_scan.c:218:13: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 static void initialize_signal_handlers()
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
pcsc_scan.c: In function ‘initialize_signal_handlers’:
pcsc_scan.c:218:13: warning: old-style function definition [-Wold-style-definition]
parent 01615206
......@@ -215,7 +215,7 @@ static void user_interrupt_signal_handler(int signal)
}
}
static void initialize_signal_handlers()
static void initialize_signal_handlers(void)
{
old_interrupt_signal_handler = signal(SIGINT, user_interrupt_signal_handler);
}
......
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