Skip to content
Snippets Groups Projects
Commit 45834c2d authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

"handler" should return RETSIGTYPE, not void

parent 6f92e197
No related branches found
No related tags found
No related merge requests found
......@@ -187,7 +187,7 @@ load_editor( void )
}
else if (pid > 0) {
/* parent - wait until the child proc is done editing */
void (*handler)();
RETSIGTYPE (*handler)();
handler = SIGNAL(SIGINT, SIG_IGN);
(void) wait(&status);
(void) SIGNAL(SIGINT, handler);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment