aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-01-04 01:36:34 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-01-04 01:36:34 +0100
commit47cd5a8433d9f22718f54fa52d545a4cda369af0 (patch)
treec95477b1845d0f23294aba6310d4235158b89f8b /FICS
parent4e1269dc6d92b88d5302893f74eb8997b192b828 (diff)
Marked ShutDown() '__dead'
Diffstat (limited to 'FICS')
-rw-r--r--FICS/shutdown.c2
-rw-r--r--FICS/shutdown.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/FICS/shutdown.c b/FICS/shutdown.c
index 2fe7197..861c9fe 100644
--- a/FICS/shutdown.c
+++ b/FICS/shutdown.c
@@ -28,7 +28,7 @@ output_shut_mess(void)
fprintf(stderr, "FICS: Shutting down at %s\n", strltime(&shuttime));
}
-PUBLIC void
+PUBLIC __dead void
ShutDown(void)
{
time_t shuttime = time(NULL);
diff --git a/FICS/shutdown.h b/FICS/shutdown.h
index 765ea36..8728ecb 100644
--- a/FICS/shutdown.h
+++ b/FICS/shutdown.h
@@ -4,13 +4,15 @@
#define _SHUTDOWN_H
#include "command.h" /* param_list */
+#include "common.h" /* __dead */
extern int check_and_print_shutdown(int);
extern int com_shutdown(int, param_list);
extern int com_whenshut(int, param_list);
extern int server_shutdown(int, char *);
-extern void ShutDown(void);
+extern __dead void ShutDown(void);
+
extern void ShutHeartBeat(void);
extern void output_shut_mess(void);