From 45834c2ddbe399e3ae5198a94727beab67db03ab Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 22 Nov 1998 05:10:33 +0000 Subject: [PATCH] "handler" should return RETSIGTYPE, not void --- clients/ud/edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/ud/edit.c b/clients/ud/edit.c index 88fe0b613a..891f2e7c87 100644 --- a/clients/ud/edit.c +++ b/clients/ud/edit.c @@ -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); -- 2.39.5