diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-21 18:26:15 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-21 18:26:15 +0000 |
commit | b083bc0b660671c1dd393b4d94989d5e159fabab (patch) | |
tree | 4701c70eb0f411a67bdce29ac5e53bc7f22bea76 /src | |
parent | c31a4b8b444c460002ea69d2e75f60330897af38 (diff) |
It seems that making inspircd.h the first include in .cpp files eliminates the warning C4996, as the defines to prevent it are set before any includes that cause it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7094 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/configreader.cpp | 2 | ||||
-rw-r--r-- | src/snomasks.cpp | 1 | ||||
-rw-r--r-- | src/socket.cpp | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 8e785a1e4..36cafd111 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -11,10 +11,10 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include <sstream> #include <fstream> -#include "inspircd.h" #include "xline.h" #include "exitcodes.h" #include "commands/cmd_whowas.h" diff --git a/src/snomasks.cpp b/src/snomasks.cpp index 200acb236..028004f86 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include <stdarg.h> #include "configreader.h" #include "users.h" diff --git a/src/socket.cpp b/src/socket.cpp index 399b71cfa..411465ad6 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -11,10 +11,10 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include <string> #include "configreader.h" #include "socket.h" -#include "inspircd.h" #include "socketengine.h" #include "wildcard.h" |