From 9cf56d917d92959701694477f7944d45ad2c38ed Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 19 May 2007 15:56:42 +0000 Subject: Windows support. Tested and working to compile on freebsd and linux. Next step is to make sure it actually works in windows too. ;p. Add Burlex to contributors. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/exitcodes.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'include/exitcodes.h') diff --git a/include/exitcodes.h b/include/exitcodes.h index 65329c47c..692e731e0 100644 --- a/include/exitcodes.h +++ b/include/exitcodes.h @@ -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 tag!", /* 12 */ - "Couldn't load module on startup", /* 13 */ - "", /* 14 */ - "Received SIGTERM", /* 15 */ -}; +extern const char * ExitCodes[]; #endif -- cgit v1.2.3