From b8e9c234e657d0490eff5fcb0ef03c1c8366e160 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 2 Feb 2006 02:39:40 +0000 Subject: [PATCH] Changed sig_int() to use a standard signal-handler prototype. --- rsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsync.c b/rsync.c index 219a1496..23878798 100644 --- a/rsync.c +++ b/rsync.c @@ -172,7 +172,7 @@ int set_file_attrs(char *fname, struct file_struct *file, STRUCT_STAT *st, return updated; } -void sig_int(void) +RETSIGTYPE sig_int(UNUSED(int val)) { /* KLUGE: if the user hits Ctrl-C while ssh is prompting * for a password, then our cleanup's sending of a SIGUSR1 -- 2.34.1