mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
Remove the unused ExitCodes array.
This commit is contained in:
parent
834c11f6e9
commit
131e570621
@ -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[];
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user