summaryrefslogtreecommitdiffstats
path: root/imap/mainloop.c
diff options
context:
space:
mode:
authorSam Varshavchik2022-05-22 23:52:28 -0400
committerSam Varshavchik2022-05-22 23:52:31 -0400
commit83e37efc8ed785cd095eb585ff747e5702ec49b3 (patch)
tree15aed6da6214e9a03d91be1754cd351175349945 /imap/mainloop.c
parent1ce81fa6af52651628a0bffcd8b15fdb459901a5 (diff)
downloadcourier-libs-83e37efc8ed785cd095eb585ff747e5702ec49b3.tar.bz2
gcc 12, autotool updates, sqwebmail fixes.
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
}