summaryrefslogtreecommitdiffstats
path: root/imap/mainloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap/mainloop.c')
-rw-r--r--imap/mainloop.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/imap/mainloop.c b/imap/mainloop.c
index dc4b06f..a36ad5a 100644
--- a/imap/mainloop.c
+++ b/imap/mainloop.c
@@ -25,7 +25,7 @@ extern unsigned long header_count, body_count;
extern unsigned long bytes_received_count, bytes_sent_count;
extern time_t start_time;
-static RETSIGTYPE sigexit(int n)
+static void sigexit(int n)
{
static char byemsg[]="* BYE Courier-IMAP server shut down by signal.\r\n";
const char *a=getenv("AUTHENTICATED");
@@ -63,9 +63,6 @@ static RETSIGTYPE sigexit(int n)
; /* Suppress gcc warning */
exit(0);
-#if RETSIGTYPE != void
- return (0);
-#endif
}