aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);