From: ceriel Date: Fri, 12 Nov 1993 16:57:15 +0000 (+0000) Subject: catch is a signal arg, and should be void catch() X-Git-Tag: release-5-5~223 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a4a2ae8f96b8b790eada9a4f3158efee0eaaf4db;p=ack.git catch is a signal arg, and should be void catch() --- diff --git a/util/arch/archiver.c b/util/arch/archiver.c index 0e9a7f62c..5ddf84b6a 100644 --- a/util/arch/archiver.c +++ b/util/arch/archiver.c @@ -171,6 +171,7 @@ register int mode; return fd; } +void catch() { unlink(temp_arch); diff --git a/util/ego/em_ego/em_ego.c b/util/ego/em_ego/em_ego.c index aeaab07aa..40a0b0579 100644 --- a/util/ego/em_ego/em_ego.c +++ b/util/ego/em_ego/em_ego.c @@ -135,7 +135,7 @@ add_uphase(p) uphases[nuphases++] = p; } -static int +static void catch() { /* Catch interrupts and exit gracefully */