mirror of
https://github.com/znc/znc.git
synced 2026-08-09 10:23:14 +02:00
Remove unneeded headers.
This commit is contained in:
@@ -6,9 +6,7 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <znc/Buffer.h>
|
||||
#include <znc/znc.h>
|
||||
#include <znc/Client.h>
|
||||
#include <znc/User.h>
|
||||
|
||||
CBufLine::CBufLine(const CString& sFormat, const CString& sText, const timeval* ts) {
|
||||
|
||||
@@ -7,11 +7,9 @@
|
||||
*/
|
||||
|
||||
#include <znc/Chan.h>
|
||||
#include <znc/FileUtils.h>
|
||||
#include <znc/IRCSock.h>
|
||||
#include <znc/User.h>
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <znc/znc.h>
|
||||
#include <znc/Config.h>
|
||||
|
||||
using std::set;
|
||||
|
||||
@@ -6,14 +6,10 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <znc/Client.h>
|
||||
#include <znc/Chan.h>
|
||||
#include <znc/FileUtils.h>
|
||||
#include <znc/IRCSock.h>
|
||||
#include <znc/User.h>
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <znc/znc.h>
|
||||
#include <znc/WebModules.h>
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
@@ -6,15 +6,12 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <znc/Client.h>
|
||||
#include <znc/Chan.h>
|
||||
#include <znc/FileUtils.h>
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <znc/IRCSock.h>
|
||||
#include <znc/Listener.h>
|
||||
#include <znc/Server.h>
|
||||
#include <znc/User.h>
|
||||
#include <znc/znc.h>
|
||||
|
||||
using std::vector;
|
||||
using std::set;
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
#include <openssl/engine.h>
|
||||
#endif /* HAVE_LIBSSL */
|
||||
|
||||
#include <list>
|
||||
|
||||
#define CS_SRANDBUFFER 128
|
||||
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
#include <znc/FileUtils.h>
|
||||
#include <znc/ExecSock.h>
|
||||
#include <znc/Utils.h>
|
||||
#include <znc/ZNCDebug.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <pwd.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -6,13 +6,9 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <znc/HTTPSock.h>
|
||||
#include <znc/FileUtils.h>
|
||||
#include <znc/Modules.h>
|
||||
#include <znc/znc.h>
|
||||
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
||||
using std::map;
|
||||
using std::set;
|
||||
|
||||
@@ -7,15 +7,12 @@
|
||||
*/
|
||||
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <znc/Modules.h>
|
||||
#include <znc/User.h>
|
||||
#include <znc/FileUtils.h>
|
||||
#include <znc/Config.h>
|
||||
#include <znc/Client.h>
|
||||
#include <znc/IRCSock.h>
|
||||
#include <znc/Server.h>
|
||||
#include <znc/Chan.h>
|
||||
#include <znc/znc.h>
|
||||
|
||||
using std::vector;
|
||||
using std::set;
|
||||
|
||||
@@ -8,10 +8,8 @@
|
||||
|
||||
#include <znc/IRCSock.h>
|
||||
#include <znc/Chan.h>
|
||||
#include <znc/Client.h>
|
||||
#include <znc/User.h>
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <znc/znc.h>
|
||||
#include <znc/Server.h>
|
||||
|
||||
using std::set;
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <znc/Listener.h>
|
||||
#include <znc/znc.h>
|
||||
|
||||
CListener::~CListener() {
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <znc/Nick.h>
|
||||
#include <znc/Chan.h>
|
||||
#include <znc/IRCSock.h>
|
||||
#include <znc/IRCNetwork.h>
|
||||
|
||||
@@ -6,11 +6,8 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <znc/Socket.h>
|
||||
#include <znc/Modules.h>
|
||||
#include <znc/User.h>
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <znc/znc.h>
|
||||
#include <signal.h>
|
||||
|
||||
/* We should need 2 DNS threads (host, bindhost) per IRC connection */
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <znc/Template.h>
|
||||
#include <znc/FileUtils.h>
|
||||
#include <znc/ZNCDebug.h>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
|
||||
using std::stringstream;
|
||||
|
||||
@@ -7,14 +7,10 @@
|
||||
*/
|
||||
|
||||
#include <znc/User.h>
|
||||
#include <znc/Chan.h>
|
||||
#include <znc/Config.h>
|
||||
#include <znc/FileUtils.h>
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <znc/IRCSock.h>
|
||||
#include <znc/Server.h>
|
||||
#include <znc/znc.h>
|
||||
#include <znc/Modules.h>
|
||||
#include <math.h>
|
||||
|
||||
using std::vector;
|
||||
|
||||
@@ -7,17 +7,11 @@
|
||||
*/
|
||||
|
||||
#include <znc/Utils.h>
|
||||
#include <znc/MD5.h>
|
||||
#include <znc/main.h>
|
||||
#include <znc/ZNCDebug.h>
|
||||
#include <znc/FileUtils.h>
|
||||
#include <errno.h>
|
||||
#ifdef HAVE_LIBSSL
|
||||
#include <openssl/ssl.h>
|
||||
#endif /* HAVE_LIBSSL */
|
||||
#include <sstream>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Required with GCC 4.3+ if openssl is disabled
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <znc/ZNCString.h>
|
||||
#include <znc/FileUtils.h>
|
||||
#include <znc/Utils.h>
|
||||
#include <znc/MD5.h>
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
*/
|
||||
|
||||
#include <znc/znc.h>
|
||||
#include <znc/FileUtils.h>
|
||||
#include <sys/wait.h>
|
||||
#include <signal.h>
|
||||
|
||||
using std::cout;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#include <znc/version.h>
|
||||
|
||||
#ifdef VERSION_EXTRA
|
||||
const char* ZNC_VERSION_EXTRA = VERSION_EXTRA;
|
||||
|
||||
@@ -6,14 +6,11 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <znc/znc.h>
|
||||
#include <znc/Chan.h>
|
||||
#include <znc/FileUtils.h>
|
||||
#include <znc/IRCSock.h>
|
||||
#include <znc/Server.h>
|
||||
#include <znc/User.h>
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <znc/Listener.h>
|
||||
#include <znc/Config.h>
|
||||
|
||||
using std::endl;
|
||||
|
||||
Reference in New Issue
Block a user