]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/exitcodes.h
Sexeger!
[user/henk/code/inspircd.git] / include / exitcodes.h
index 65329c47c2eb582efa9b160d097de41ec9910b0a..692e731e0923da6de24e25e9dd370d04f63fd2f6 100644 (file)
@@ -38,24 +38,6 @@ enum ExitStatus
 /** Array that maps exit codes (ExitStatus types) to
  * human-readable strings to be shown on shutdown.
  */
-const char* ExitCodes[] =
-{
-       "No error", /* 0 */
-       "DIE command", /* 1 */
-       "execv() failed", /* 2 */
-       "Internal error", /* 3 */
-       "Config file error", /* 4 */
-       "Logfile error", /* 5 */
-       "Fork failed", /* 6 */
-       "Bad commandline parameters", /* 7 */
-       "No ports could be bound", /* 8 */
-       "Can't write PID file", /* 9 */
-       "SocketEngine could not initialize", /* 10 */
-       "Refusing to start up as root", /* 11 */
-       "Found a <die> tag!", /* 12 */
-       "Couldn't load module on startup", /* 13 */
-       "", /* 14 */
-       "Received SIGTERM", /* 15 */
-};
+extern const char * ExitCodes[];
 
 #endif