]> git.sur5r.net Git - openldap/commitdiff
"handler" should return RETSIGTYPE, not void
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 22 Nov 1998 05:10:33 +0000 (05:10 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 22 Nov 1998 05:10:33 +0000 (05:10 +0000)
clients/ud/edit.c

index 88fe0b613a54c463b18bbee5c3d155d3537a3cc4..891f2e7c87c3b09247f509888ef26348fa7bb022 100644 (file)
@@ -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);