Remove the unused ExitCodes array.

This commit is contained in:
Sadie Powell 2021-04-02 00:26:44 +01:00
parent 834c11f6e9
commit 131e570621
2 changed files with 0 additions and 24 deletions

View File

@ -40,8 +40,3 @@ enum ExitStatus
EXIT_STATUS_MODULE = 9, /* Couldn't load a required module */
EXIT_STATUS_SIGTERM = 10 /* Received SIGTERM */
};
/** Array that maps exit codes (ExitStatus types) to
* human-readable strings to be shown on shutdown.
*/
extern const char * ExitCodes[];

View File

@ -63,25 +63,6 @@ InspIRCd* ServerInstance = NULL;
*/
unsigned const char* national_case_insensitive_map = ascii_case_insensitive_map;
/* Moved from exitcodes.h -- due to duplicate symbols -- Burlex
* XXX this is a bit ugly. -- w00t
*/
const char* ExitCodes[] =
{
"No error", // 0
"DIE command", // 1
"Config file error", // 2
"Logfile error", // 3
"POSIX fork failed", // 4
"Bad commandline parameters", // 5
"Can't write PID file", // 6
"SocketEngine could not initialize", // 7
"Refusing to start up as root", // 8
"Couldn't load module on startup", // 9
"Received SIGTERM" // 10
};
namespace
{
void VoidSignalHandler(int);