mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
"handler" should return RETSIGTYPE, not void
This commit is contained in:
parent
6f92e197dc
commit
45834c2ddb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user