diff --git a/configure.ac b/configure.ac index 4131d8a..0ebc52d 100644 --- a/configure.ac +++ b/configure.ac @@ -1271,5 +1271,5 @@ Configuration: Nickname length : $NICKLEN Topic length : $TOPICLEN -Use (g)make to compile Charybdis, then (g)make install to install it. +Use make to compile Charybdis, then make install to install it. " diff --git a/include/cache.h b/include/cache.h index 02705e8..9fada16 100644 --- a/include/cache.h +++ b/include/cache.h @@ -3,7 +3,6 @@ #define INCLUDED_CACHE_H #include "client.h" -#include "tools.h" #define HELP_MAX 100 diff --git a/include/class.h b/include/class.h index 78064eb..af6fa84 100644 --- a/include/class.h +++ b/include/class.h @@ -27,8 +27,6 @@ #ifndef INCLUDED_class_h #define INCLUDED_class_h -#include "tools.h" - struct ConfItem; struct Client; struct _patricia_tree_t; diff --git a/include/client.h b/include/client.h index bfce2c0..caa0519 100644 --- a/include/client.h +++ b/include/client.h @@ -35,14 +35,12 @@ #endif #include "ircd_defs.h" -#include "linebuf.h" #include "channel.h" #include "res.h" #include "snomask.h" #include "irc_string.h" #include "sprintf_irc.h" #include "ircd.h" -#include "commio.h" /* other structs */ struct Blacklist; diff --git a/include/hash.h b/include/hash.h index d732a96..9766022 100644 --- a/include/hash.h +++ b/include/hash.h @@ -27,8 +27,6 @@ #ifndef INCLUDED_hash_h #define INCLUDED_hash_h -#include "tools.h" - struct Dictionary; extern rb_dlink_list *clientTable; diff --git a/include/ircd.h b/include/ircd.h index 652f20d..d3d0e0f 100644 --- a/include/ircd.h +++ b/include/ircd.h @@ -28,8 +28,6 @@ #define INCLUDED_ircd_h #include "config.h" -#include "tools.h" -#include "memory.h" struct Client; struct rb_dlink_list; diff --git a/include/modules.h b/include/modules.h index 168a7ac..d61061a 100644 --- a/include/modules.h +++ b/include/modules.h @@ -40,7 +40,6 @@ #endif #include "msg.h" -#include "memory.h" #include "hook.h" struct module diff --git a/include/newconf.h b/include/newconf.h index ea2d8e9..dfc4623 100644 --- a/include/newconf.h +++ b/include/newconf.h @@ -10,7 +10,6 @@ #include -#include "tools.h" #include "client.h" struct ConfEntry diff --git a/include/packet.h b/include/packet.h index 13b7feb..7962e6b 100644 --- a/include/packet.h +++ b/include/packet.h @@ -27,8 +27,6 @@ #ifndef INCLUDED_packet_h #define INCLUDED_packet_h -#include "commio.h" - /* * this hides in here rather than a config.h because it really shouldn't * be tweaked unless you *REALLY REALLY* know what you're doing! diff --git a/include/parse.h b/include/parse.h index e4d25e3..27772fa 100644 --- a/include/parse.h +++ b/include/parse.h @@ -28,7 +28,6 @@ #define INCLUDED_parse_h_h #include "irc_dictionary.h" -#include "tools.h" struct Message; struct Client; diff --git a/include/res.h b/include/res.h index 8f53313..7633897 100644 --- a/include/res.h +++ b/include/res.h @@ -9,7 +9,6 @@ #include "ircd_defs.h" #include "common.h" -#include "commio.h" #include "reslib.h" #include "irc_string.h" #include "sprintf_irc.h" diff --git a/include/s_newconf.h b/include/s_newconf.h index 65bbcac..bd3282c 100644 --- a/include/s_newconf.h +++ b/include/s_newconf.h @@ -36,7 +36,6 @@ #define INCLUDED_s_newconf_h #include "setup.h" -#include "tools.h" #ifdef HAVE_LIBCRYPTO #include diff --git a/include/substitution.h b/include/substitution.h index 2f23b7c..408649c 100644 --- a/include/substitution.h +++ b/include/substitution.h @@ -34,7 +34,6 @@ */ #include "stdinc.h" -#include "tools.h" #ifndef SUBSTITUTION_H #define SUBSTITUTION_H diff --git a/modules/core/m_die.c b/modules/core/m_die.c index a40f7f8..ec81e79 100644 --- a/modules/core/m_die.c +++ b/modules/core/m_die.c @@ -25,12 +25,10 @@ */ #include "stdinc.h" -#include "tools.h" #include "client.h" #include "ircd.h" #include "irc_string.h" #include "numeric.h" -#include "commio.h" #include "s_log.h" #include "s_conf.h" #include "send.h" diff --git a/modules/core/m_error.c b/modules/core/m_error.c index 0310eca..96d15dc 100644 --- a/modules/core/m_error.c +++ b/modules/core/m_error.c @@ -31,7 +31,6 @@ #include "numeric.h" #include "send.h" #include "msg.h" -#include "memory.h" #include "modules.h" #include "s_log.h" #include "s_conf.h" diff --git a/modules/core/m_join.c b/modules/core/m_join.c index 2332fc3..fbb2e4a 100644 --- a/modules/core/m_join.c +++ b/modules/core/m_join.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "common.h" diff --git a/modules/core/m_kick.c b/modules/core/m_kick.c index e2189de..edec515 100644 --- a/modules/core/m_kick.c +++ b/modules/core/m_kick.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "irc_string.h" diff --git a/modules/core/m_message.c b/modules/core/m_message.c index 5adecba..085f1fa 100644 --- a/modules/core/m_message.c +++ b/modules/core/m_message.c @@ -41,7 +41,6 @@ #include "msg.h" #include "packet.h" #include "send.h" -#include "event.h" #include "s_newconf.h" #include "s_stats.h" diff --git a/modules/core/m_mode.c b/modules/core/m_mode.c index 7622852..b2ab73c 100644 --- a/modules/core/m_mode.c +++ b/modules/core/m_mode.c @@ -25,8 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" -#include "balloc.h" #include "channel.h" #include "client.h" #include "hash.h" diff --git a/modules/core/m_part.c b/modules/core/m_part.c index d31da2f..0557002 100644 --- a/modules/core/m_part.c +++ b/modules/core/m_part.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "common.h" diff --git a/modules/core/m_server.c b/modules/core/m_server.c index 56a2341..29512ec 100644 --- a/modules/core/m_server.c +++ b/modules/core/m_server.c @@ -25,10 +25,8 @@ */ #include "stdinc.h" -#include "tools.h" #include "client.h" /* client struct */ #include "common.h" /* TRUE bleah */ -#include "event.h" #include "hash.h" /* add_to_client_hash */ #include "irc_string.h" #include "ircd.h" /* me */ diff --git a/modules/core/m_sjoin.c b/modules/core/m_sjoin.c index 7acac51..b8eda6a 100644 --- a/modules/core/m_sjoin.c +++ b/modules/core/m_sjoin.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "hash.h" diff --git a/modules/m_cap.c b/modules/m_cap.c index 4e31f70..5b69625 100644 --- a/modules/m_cap.c +++ b/modules/m_cap.c @@ -31,7 +31,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "class.h" #include "client.h" #include "irc_string.h" diff --git a/modules/m_challenge.c b/modules/m_challenge.c index ef708d2..d71abcc 100644 --- a/modules/m_challenge.c +++ b/modules/m_challenge.c @@ -36,7 +36,6 @@ #include #endif -#include "memory.h" #include "client.h" #include "ircd.h" #include "modules.h" diff --git a/modules/m_chghost.c b/modules/m_chghost.c index ffb6aef..f805cbb 100644 --- a/modules/m_chghost.c +++ b/modules/m_chghost.c @@ -10,7 +10,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "send.h" #include "channel.h" #include "client.h" @@ -18,7 +17,6 @@ #include "config.h" #include "ircd.h" #include "numeric.h" -#include "memory.h" #include "s_conf.h" #include "s_newconf.h" #include "s_serv.h" diff --git a/modules/m_close.c b/modules/m_close.c index e8419d4..19d4e01 100644 --- a/modules/m_close.c +++ b/modules/m_close.c @@ -25,11 +25,9 @@ */ #include "stdinc.h" -#include "tools.h" #include "client.h" #include "ircd.h" #include "numeric.h" -#include "commio.h" #include "send.h" #include "msg.h" #include "parse.h" diff --git a/modules/m_connect.c b/modules/m_connect.c index 34f9c00..22fb7f2 100644 --- a/modules/m_connect.c +++ b/modules/m_connect.c @@ -29,7 +29,6 @@ #include "ircd.h" #include "irc_string.h" #include "numeric.h" -#include "commio.h" #include "s_conf.h" #include "s_newconf.h" #include "s_log.h" diff --git a/modules/m_dline.c b/modules/m_dline.c index 37fffde..9bc7def 100644 --- a/modules/m_dline.c +++ b/modules/m_dline.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "class.h" #include "client.h" @@ -35,7 +34,6 @@ #include "ircd.h" #include "hostmask.h" #include "numeric.h" -#include "commio.h" #include "s_conf.h" #include "s_newconf.h" #include "s_log.h" diff --git a/modules/m_encap.c b/modules/m_encap.c index 1a1f801..742c35d 100644 --- a/modules/m_encap.c +++ b/modules/m_encap.c @@ -30,7 +30,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "send.h" #include "channel.h" #include "client.h" @@ -38,7 +37,6 @@ #include "config.h" #include "ircd.h" #include "numeric.h" -#include "memory.h" #include "s_serv.h" #include "hash.h" #include "msg.h" diff --git a/modules/m_etrace.c b/modules/m_etrace.c index 6cf9cb3..219926e 100644 --- a/modules/m_etrace.c +++ b/modules/m_etrace.c @@ -42,7 +42,6 @@ #include "irc_string.h" #include "ircd.h" #include "numeric.h" -#include "commio.h" #include "s_serv.h" #include "s_conf.h" #include "s_newconf.h" diff --git a/modules/m_gline.c b/modules/m_gline.c index ca418a8..4f39bef 100644 --- a/modules/m_gline.c +++ b/modules/m_gline.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "s_gline.h" #include "channel.h" #include "client.h" @@ -36,7 +35,6 @@ #include "ircd.h" #include "hostmask.h" #include "numeric.h" -#include "commio.h" #include "s_conf.h" #include "s_newconf.h" #include "scache.h" diff --git a/modules/m_info.c b/modules/m_info.c index 27b2f36..08d4395 100644 --- a/modules/m_info.c +++ b/modules/m_info.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "m_info.h" #include "channel.h" #include "client.h" diff --git a/modules/m_invite.c b/modules/m_invite.c index 35e392f..eb6c041 100644 --- a/modules/m_invite.c +++ b/modules/m_invite.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "common.h" #include "channel.h" #include "client.h" diff --git a/modules/m_kline.c b/modules/m_kline.c index 7c51c08..66a3b7f 100644 --- a/modules/m_kline.c +++ b/modules/m_kline.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "class.h" #include "client.h" @@ -35,7 +34,6 @@ #include "ircd.h" #include "hostmask.h" #include "numeric.h" -#include "commio.h" #include "s_conf.h" #include "s_newconf.h" #include "s_log.h" @@ -45,7 +43,6 @@ #include "msg.h" #include "parse.h" #include "modules.h" -#include "event.h" #include "reject.h" static int mo_kline(struct Client *, struct Client *, int, const char **); diff --git a/modules/m_knock.c b/modules/m_knock.c index 8cf5ea7..fce9469 100644 --- a/modules/m_knock.c +++ b/modules/m_knock.c @@ -25,7 +25,6 @@ #include "stdinc.h" #include "sprintf_irc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "hash.h" diff --git a/modules/m_list.c b/modules/m_list.c index f668e73..f3581a5 100644 --- a/modules/m_list.c +++ b/modules/m_list.c @@ -34,7 +34,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "hash.h" @@ -47,7 +46,6 @@ #include "msg.h" #include "parse.h" #include "modules.h" -#include "event.h" static rb_dlink_list safelisting_clients = { NULL, NULL, 0 }; diff --git a/modules/m_monitor.c b/modules/m_monitor.c index eb0dafa..e64b947 100644 --- a/modules/m_monitor.c +++ b/modules/m_monitor.c @@ -31,7 +31,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "client.h" #include "msg.h" #include "parse.h" diff --git a/modules/m_motd.c b/modules/m_motd.c index 802b407..6b17c31 100644 --- a/modules/m_motd.c +++ b/modules/m_motd.c @@ -26,7 +26,6 @@ #include "stdinc.h" #include "client.h" -#include "tools.h" #include "ircd.h" #include "send.h" #include "numeric.h" diff --git a/modules/m_names.c b/modules/m_names.c index c4bd65f..bb4b238 100644 --- a/modules/m_names.c +++ b/modules/m_names.c @@ -26,7 +26,6 @@ #include "stdinc.h" #include "sprintf_irc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "common.h" diff --git a/modules/m_oper.c b/modules/m_oper.c index ac7a1d3..61da90c 100644 --- a/modules/m_oper.c +++ b/modules/m_oper.c @@ -25,13 +25,11 @@ */ #include "stdinc.h" -#include "tools.h" #include "client.h" #include "common.h" #include "irc_string.h" #include "ircd.h" #include "numeric.h" -#include "commio.h" #include "s_conf.h" #include "s_newconf.h" #include "s_log.h" diff --git a/modules/m_operspy.c b/modules/m_operspy.c index 6428fef..0020233 100644 --- a/modules/m_operspy.c +++ b/modules/m_operspy.c @@ -30,7 +30,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "send.h" #include "channel.h" #include "client.h" @@ -38,7 +37,6 @@ #include "config.h" #include "ircd.h" #include "numeric.h" -#include "memory.h" #include "s_serv.h" #include "hash.h" #include "msg.h" diff --git a/modules/m_scan.c b/modules/m_scan.c index e6bf086..37a0783 100644 --- a/modules/m_scan.c +++ b/modules/m_scan.c @@ -41,7 +41,6 @@ #include "irc_string.h" #include "ircd.h" #include "numeric.h" -#include "commio.h" #include "s_serv.h" #include "s_conf.h" #include "s_newconf.h" diff --git a/modules/m_services.c b/modules/m_services.c index 539d20d..899c1a3 100644 --- a/modules/m_services.c +++ b/modules/m_services.c @@ -31,7 +31,6 @@ #include "stdinc.h" -#include "tools.h" #include "send.h" #include "channel.h" #include "client.h" @@ -39,7 +38,6 @@ #include "config.h" #include "ircd.h" #include "numeric.h" -#include "memory.h" #include "s_conf.h" #include "s_newconf.h" #include "s_serv.h" diff --git a/modules/m_set.c b/modules/m_set.c index c27cd95..6a72e75 100644 --- a/modules/m_set.c +++ b/modules/m_set.c @@ -28,12 +28,10 @@ #include "stdinc.h" #include "client.h" -#include "event.h" #include "irc_string.h" #include "sprintf_irc.h" #include "ircd.h" #include "numeric.h" -#include "commio.h" #include "s_serv.h" #include "send.h" #include "common.h" diff --git a/modules/m_signon.c b/modules/m_signon.c index 378fd07..16b13cc 100644 --- a/modules/m_signon.c +++ b/modules/m_signon.c @@ -31,7 +31,6 @@ #include "stdinc.h" -#include "tools.h" #include "send.h" #include "channel.h" #include "client.h" @@ -39,7 +38,6 @@ #include "config.h" #include "ircd.h" #include "numeric.h" -#include "memory.h" #include "s_conf.h" #include "s_serv.h" #include "hash.h" diff --git a/modules/m_snote.c b/modules/m_snote.c index 881d260..785901e 100644 --- a/modules/m_snote.c +++ b/modules/m_snote.c @@ -41,7 +41,6 @@ #include "irc_string.h" #include "ircd.h" #include "numeric.h" -#include "commio.h" #include "s_serv.h" #include "s_conf.h" #include "s_newconf.h" diff --git a/modules/m_stats.c b/modules/m_stats.c index f7c2c93..a4bd4b1 100644 --- a/modules/m_stats.c +++ b/modules/m_stats.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" /* rb_dlink_node/rb_dlink_list */ #include "class.h" /* report_classes */ #include "client.h" /* Client */ #include "common.h" /* TRUE/FALSE */ @@ -38,14 +37,11 @@ #include "numeric.h" /* ERR_xxx */ #include "scache.h" /* list_scache */ #include "send.h" /* sendto_one */ -#include "commio.h" /* highest_fd */ #include "s_conf.h" /* ConfItem */ #include "s_serv.h" /* hunt_server */ #include "s_stats.h" /* tstats */ #include "s_user.h" /* show_opers */ -#include "event.h" /* events */ #include "blacklist.h" /* dnsbl stuff */ -#include "linebuf.h" #include "parse.h" #include "modules.h" #include "hook.h" diff --git a/modules/m_tb.c b/modules/m_tb.c index eac3ae3..875713e 100644 --- a/modules/m_tb.c +++ b/modules/m_tb.c @@ -31,7 +31,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "send.h" #include "channel.h" #include "client.h" diff --git a/modules/m_testline.c b/modules/m_testline.c index 87d9575..fbecbe8 100644 --- a/modules/m_testline.c +++ b/modules/m_testline.c @@ -30,7 +30,6 @@ * $Id: m_testline.c 3303 2007-03-28 15:22:49Z jilles $ */ #include "stdinc.h" -#include "tools.h" #include "send.h" #include "client.h" #include "modules.h" diff --git a/modules/m_topic.c b/modules/m_topic.c index e63f3e4..1aabf4b 100644 --- a/modules/m_topic.c +++ b/modules/m_topic.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "hash.h" diff --git a/modules/m_trace.c b/modules/m_trace.c index d99cd5a..2f95f5d 100644 --- a/modules/m_trace.c +++ b/modules/m_trace.c @@ -34,7 +34,6 @@ #include "irc_string.h" #include "ircd.h" #include "numeric.h" -#include "commio.h" #include "s_serv.h" #include "s_conf.h" #include "s_newconf.h" diff --git a/modules/m_who.c b/modules/m_who.c index f6b2d72..bb88259 100644 --- a/modules/m_who.c +++ b/modules/m_who.c @@ -24,7 +24,6 @@ * $Id: m_who.c 3350 2007-04-02 22:03:08Z jilles $ */ #include "stdinc.h" -#include "tools.h" #include "common.h" #include "client.h" #include "channel.h" diff --git a/modules/m_whois.c b/modules/m_whois.c index caba2b7..331630c 100644 --- a/modules/m_whois.c +++ b/modules/m_whois.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "common.h" #include "client.h" #include "hash.h" diff --git a/modules/m_xline.c b/modules/m_xline.c index 9b257ff..0f11a86 100644 --- a/modules/m_xline.c +++ b/modules/m_xline.c @@ -31,7 +31,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "send.h" #include "channel.h" #include "client.h" @@ -40,7 +39,6 @@ #include "class.h" #include "ircd.h" #include "numeric.h" -#include "memory.h" #include "s_log.h" #include "s_serv.h" #include "whowas.h" diff --git a/src/blacklist.c b/src/blacklist.c index 6e0740a..544c3bd 100644 --- a/src/blacklist.c +++ b/src/blacklist.c @@ -36,8 +36,6 @@ #include "stdinc.h" #include "client.h" #include "res.h" -#include "tools.h" -#include "memory.h" #include "numeric.h" #include "reject.h" #include "s_conf.h" diff --git a/src/cache.c b/src/cache.c index 6f5efb2..3db464e 100644 --- a/src/cache.c +++ b/src/cache.c @@ -36,11 +36,7 @@ #include "ircd_defs.h" #include "common.h" #include "s_conf.h" -#include "tools.h" #include "client.h" -#include "memory.h" -#include "balloc.h" -#include "event.h" #include "hash.h" #include "cache.h" #include "sprintf_irc.h" diff --git a/src/channel.c b/src/channel.c index 4dc13cb..a1b2905 100644 --- a/src/channel.c +++ b/src/channel.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "common.h" @@ -41,9 +40,6 @@ #include "whowas.h" #include "s_conf.h" /* ConfigFileEntry, ConfigChannel */ #include "s_newconf.h" -#include "event.h" -#include "memory.h" -#include "balloc.h" #include "s_log.h" extern rb_dlink_list global_channel_list; diff --git a/src/chmode.c b/src/chmode.c index b2967b1..d252f6f 100644 --- a/src/chmode.c +++ b/src/chmode.c @@ -26,7 +26,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "common.h" @@ -42,9 +41,6 @@ #include "whowas.h" #include "s_conf.h" /* ConfigFileEntry, ConfigChannel */ #include "s_newconf.h" -#include "event.h" -#include "memory.h" -#include "balloc.h" #include "s_log.h" /* bitmasks for error returns, so we send once per call */ diff --git a/src/class.c b/src/class.c index 878e694..92a0c0d 100644 --- a/src/class.c +++ b/src/class.c @@ -27,7 +27,6 @@ #include "stdinc.h" #include "config.h" -#include "tools.h" #include "class.h" #include "client.h" #include "common.h" @@ -37,7 +36,6 @@ #include "s_newconf.h" #include "send.h" #include "irc_string.h" -#include "memory.h" #define BAD_CONF_CLASS -1 #define BAD_PING -2 diff --git a/src/client.c b/src/client.c index ef5af5d..6830bde 100644 --- a/src/client.c +++ b/src/client.c @@ -27,11 +27,9 @@ #include "stdinc.h" #include "config.h" -#include "tools.h" #include "client.h" #include "class.h" #include "common.h" -#include "event.h" #include "hash.h" #include "irc_string.h" #include "sprintf_irc.h" @@ -40,7 +38,6 @@ #include "numeric.h" #include "packet.h" #include "s_auth.h" -#include "commio.h" #include "s_conf.h" #include "s_newconf.h" #include "s_log.h" @@ -49,11 +46,8 @@ #include "send.h" #include "whowas.h" #include "s_user.h" -#include "linebuf.h" #include "hash.h" -#include "memory.h" #include "hostmask.h" -#include "balloc.h" #include "listener.h" #include "hook.h" #include "msg.h" diff --git a/src/extban.c b/src/extban.c index f02c98c..c8a04df 100644 --- a/src/extban.c +++ b/src/extban.c @@ -23,7 +23,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "common.h" diff --git a/src/hash.c b/src/hash.c index 2c82128..bf17b06 100644 --- a/src/hash.c +++ b/src/hash.c @@ -26,7 +26,6 @@ #include "stdinc.h" #include "ircd_defs.h" -#include "tools.h" #include "s_conf.h" #include "channel.h" #include "client.h" @@ -36,7 +35,6 @@ #include "ircd.h" #include "numeric.h" #include "send.h" -#include "memory.h" #include "msg.h" #include "cache.h" #include "s_newconf.h" diff --git a/src/hook.c b/src/hook.c index 69ce520..f06e6f6 100644 --- a/src/hook.c +++ b/src/hook.c @@ -37,8 +37,6 @@ * $Id: hook.c 712 2006-02-06 04:42:14Z gxti $ */ #include "stdinc.h" -#include "memory.h" -#include "tools.h" #include "hook.h" #include "irc_string.h" diff --git a/src/hostmask.c b/src/hostmask.c index 9340d7e..c24e2d0 100644 --- a/src/hostmask.c +++ b/src/hostmask.c @@ -26,7 +26,6 @@ */ #include "stdinc.h" -#include "memory.h" #include "ircd_defs.h" #include "s_conf.h" #include "hostmask.h" diff --git a/src/irc_dictionary.c b/src/irc_dictionary.c index eba262c..1de03da 100644 --- a/src/irc_dictionary.c +++ b/src/irc_dictionary.c @@ -24,12 +24,9 @@ #include "stdinc.h" #include "sprintf_irc.h" -#include "tools.h" #include "irc_string.h" #include "client.h" -#include "memory.h" #include "setup.h" -#include "balloc.h" #include "irc_dictionary.h" static BlockHeap *elem_heap = NULL; diff --git a/src/irc_string.c b/src/irc_string.c index b7f0957..90c21d1 100644 --- a/src/irc_string.c +++ b/src/irc_string.c @@ -26,10 +26,8 @@ #include "stdinc.h" #include "sprintf_irc.h" -#include "tools.h" #include "irc_string.h" #include "client.h" -#include "memory.h" #include "setup.h" #ifndef INADDRSZ diff --git a/src/ircd.c b/src/ircd.c index eb648b1..c3bffde 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -28,13 +28,11 @@ #include "setup.h" #include "config.h" -#include "tools.h" #include "ircd.h" #include "channel.h" #include "class.h" #include "client.h" #include "common.h" -#include "event.h" #include "hash.h" #include "irc_string.h" #include "ircd_signal.h" @@ -47,7 +45,6 @@ #include "res.h" #include "restart.h" #include "s_auth.h" -#include "commio.h" #include "s_conf.h" #include "s_log.h" #include "s_serv.h" /* try_connections */ @@ -58,17 +55,14 @@ #include "supported.h" #include "whowas.h" #include "modules.h" -#include "memory.h" #include "hook.h" #include "ircd_getopt.h" -#include "balloc.h" #include "newconf.h" #include "reject.h" #include "s_conf.h" #include "s_newconf.h" #include "cache.h" #include "monitor.h" -#include "libcharybdis.h" #include "patchlevel.h" #include "serno.h" diff --git a/src/ircd_signal.c b/src/ircd_signal.c index e910505..906e4a4 100644 --- a/src/ircd_signal.c +++ b/src/ircd_signal.c @@ -25,8 +25,6 @@ #include "ircd.h" /* dorehash */ #include "restart.h" /* server_reboot */ #include "s_log.h" -#include "memory.h" -#include "commio.h" #include "s_conf.h" #include "client.h" #include "send.h" diff --git a/src/ircd_state.c b/src/ircd_state.c index c147095..973f1ab 100644 --- a/src/ircd_state.c +++ b/src/ircd_state.c @@ -38,14 +38,11 @@ #include "config.h" #include "client.h" -#include "tools.h" -#include "tools.h" #include "ircd.h" #include "channel.h" #include "class.h" #include "client.h" #include "common.h" -#include "event.h" #include "hash.h" #include "irc_string.h" #include "ircd_signal.h" @@ -58,7 +55,6 @@ #include "res.h" #include "restart.h" #include "s_auth.h" -#include "commio.h" #include "s_conf.h" #include "s_log.h" #include "s_serv.h" /* try_connections */ @@ -68,10 +64,8 @@ #include "send.h" #include "whowas.h" #include "modules.h" -#include "memory.h" #include "hook.h" #include "ircd_getopt.h" -#include "balloc.h" #include "newconf.h" #include "patricia.h" #include "reject.h" @@ -79,7 +73,6 @@ #include "s_newconf.h" #include "cache.h" #include "monitor.h" -#include "libcharybdis.h" #include "patchlevel.h" #include "serno.h" diff --git a/src/kdparse.c b/src/kdparse.c index 3beac3d..b94bb50 100644 --- a/src/kdparse.c +++ b/src/kdparse.c @@ -25,14 +25,12 @@ */ #include "stdinc.h" -#include "tools.h" #include "s_log.h" #include "s_conf.h" #include "s_newconf.h" #include "hostmask.h" #include "client.h" #include "irc_string.h" -#include "memory.h" #include "hash.h" /* conf_add_fields() diff --git a/src/listener.c b/src/listener.c index 78fd876..d676f25 100644 --- a/src/listener.c +++ b/src/listener.c @@ -33,12 +33,10 @@ #include "ircd.h" #include "ircd_defs.h" #include "numeric.h" -#include "commio.h" #include "s_conf.h" #include "s_newconf.h" #include "s_stats.h" #include "send.h" -#include "memory.h" #include "s_auth.h" #include "reject.h" #include "s_conf.h" diff --git a/src/modules.c b/src/modules.c index e3da9e5..78a795b 100644 --- a/src/modules.c +++ b/src/modules.c @@ -38,8 +38,6 @@ #include "parse.h" #include "ircd_defs.h" #include "irc_string.h" -#include "memory.h" -#include "tools.h" #include "sprintf_irc.h" diff --git a/src/monitor.c b/src/monitor.c index 227fd7e..907c7f1 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -32,13 +32,9 @@ * $Id: monitor.c 3520 2007-06-30 22:15:35Z jilles $ */ #include "stdinc.h" -#include "tools.h" #include "client.h" -#include "memory.h" -#include "balloc.h" #include "monitor.h" #include "hash.h" -#include "event.h" #include "numeric.h" static struct monitor *monitorTable[MONITOR_HASH_SIZE]; diff --git a/src/newconf.c b/src/newconf.c index b820330..825a6d3 100644 --- a/src/newconf.c +++ b/src/newconf.c @@ -9,9 +9,7 @@ #include #endif -#include "memory.h" #include "newconf.h" -#include "tools.h" #include "ircd_defs.h" #include "sprintf_irc.h" #include "common.h" @@ -25,7 +23,6 @@ #include "listener.h" #include "hostmask.h" #include "s_serv.h" -#include "event.h" #include "hash.h" #include "cache.h" #include "ircd.h" diff --git a/src/numeric.c b/src/numeric.c index 1a8c96c..f43b763 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -31,7 +31,6 @@ #include "numeric.h" #include "irc_string.h" #include "common.h" /* NULL cripes */ -#include "memory.h" #include "messages.tab" diff --git a/src/packet.c b/src/packet.c index 98bace1..b364772 100644 --- a/src/packet.c +++ b/src/packet.c @@ -24,8 +24,6 @@ * $Id: packet.c 3446 2007-05-14 22:21:16Z jilles $ */ #include "stdinc.h" -#include "tools.h" -#include "commio.h" #include "s_conf.h" #include "s_serv.h" #include "client.h" @@ -34,7 +32,6 @@ #include "parse.h" #include "packet.h" #include "irc_string.h" -#include "memory.h" #include "hook.h" #include "send.h" diff --git a/src/parse.c b/src/parse.c index 3b5cd27..36976ce 100644 --- a/src/parse.c +++ b/src/parse.c @@ -40,7 +40,6 @@ #include "send.h" #include "msg.h" #include "s_conf.h" -#include "memory.h" #include "s_serv.h" #include "packet.h" diff --git a/src/reject.c b/src/reject.c index afdfc85..47271b2 100644 --- a/src/reject.c +++ b/src/reject.c @@ -28,8 +28,6 @@ #include "patricia.h" #include "client.h" #include "s_conf.h" -#include "event.h" -#include "tools.h" #include "reject.h" #include "s_stats.h" #include "msg.h" diff --git a/src/res.c b/src/res.c index 74e8e85..22f0993 100644 --- a/src/res.c +++ b/src/res.c @@ -29,11 +29,8 @@ #include "ircd_defs.h" #include "common.h" #include "ircd.h" -#include "commio.h" #include "res.h" #include "reslib.h" -#include "tools.h" -#include "event.h" #include "irc_string.h" #include "sprintf_irc.h" #include "numeric.h" diff --git a/src/reslib.c b/src/reslib.c index fce6f05..288a57c 100644 --- a/src/reslib.c +++ b/src/reslib.c @@ -84,11 +84,8 @@ #include "ircd_defs.h" #include "common.h" #include "ircd.h" -#include "commio.h" #include "res.h" #include "reslib.h" -#include "tools.h" -#include "event.h" #include "irc_string.h" #include "sprintf_irc.h" diff --git a/src/restart.c b/src/restart.c index bcfeebf..2f7b4b9 100644 --- a/src/restart.c +++ b/src/restart.c @@ -25,14 +25,12 @@ */ #include "stdinc.h" -#include "tools.h" #include "restart.h" #include "common.h" #include "ircd.h" #include "send.h" #include "s_log.h" #include "client.h" /* for FLAGS_ALL */ -#include "memory.h" /* external var */ extern char **myargv; diff --git a/src/s_auth.c b/src/s_auth.c index 3aaa03c..af4ab14 100644 --- a/src/s_auth.c +++ b/src/s_auth.c @@ -35,23 +35,19 @@ */ #include "stdinc.h" #include "config.h" -#include "tools.h" #include "s_auth.h" #include "s_conf.h" #include "client.h" #include "common.h" -#include "event.h" #include "irc_string.h" #include "sprintf_irc.h" #include "ircd.h" #include "numeric.h" #include "packet.h" #include "res.h" -#include "commio.h" #include "s_log.h" #include "s_stats.h" #include "send.h" -#include "memory.h" #include "hook.h" #include "blacklist.h" diff --git a/src/s_conf.c b/src/s_conf.c index 4694d4b..871baa8 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -26,7 +26,6 @@ #include "stdinc.h" #include "ircd_defs.h" -#include "tools.h" #include "s_conf.h" #include "s_newconf.h" #include "s_serv.h" @@ -35,7 +34,6 @@ #include "class.h" #include "client.h" #include "common.h" -#include "event.h" #include "hash.h" #include "irc_string.h" #include "sprintf_irc.h" @@ -44,12 +42,9 @@ #include "hostmask.h" #include "modules.h" #include "numeric.h" -#include "commio.h" #include "s_log.h" #include "send.h" #include "s_gline.h" -#include "memory.h" -#include "balloc.h" #include "patricia.h" #include "reject.h" #include "cache.h" diff --git a/src/s_gline.c b/src/s_gline.c index c64bfed..0764c40 100644 --- a/src/s_gline.c +++ b/src/s_gline.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "common.h" @@ -34,7 +33,6 @@ #include "ircd.h" #include "hostmask.h" #include "numeric.h" -#include "commio.h" #include "s_conf.h" #include "scache.h" #include "send.h" @@ -42,8 +40,6 @@ #include "s_serv.h" #include "s_gline.h" #include "hash.h" -#include "event.h" -#include "memory.h" rb_dlink_list glines; diff --git a/src/s_newconf.c b/src/s_newconf.c index 3c828b2..5efb6e8 100644 --- a/src/s_newconf.c +++ b/src/s_newconf.c @@ -37,16 +37,12 @@ #include "common.h" #include "s_conf.h" #include "s_newconf.h" -#include "tools.h" #include "client.h" -#include "memory.h" #include "s_serv.h" #include "send.h" #include "hostmask.h" #include "newconf.h" #include "hash.h" -#include "balloc.h" -#include "event.h" #include "sprintf_irc.h" #include "irc_dictionary.h" diff --git a/src/s_serv.c b/src/s_serv.c index 167b77f..a3d3c01 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -30,12 +30,10 @@ #include #endif -#include "tools.h" #include "s_serv.h" #include "class.h" #include "client.h" #include "common.h" -#include "event.h" #include "hash.h" #include "irc_string.h" #include "sprintf_irc.h" @@ -44,7 +42,6 @@ #include "numeric.h" #include "packet.h" #include "res.h" -#include "commio.h" #include "s_conf.h" #include "s_newconf.h" #include "s_log.h" @@ -53,7 +50,6 @@ #include "scache.h" #include "send.h" #include "client.h" -#include "memory.h" #include "channel.h" /* chcap_usage_counts stuff... */ #include "hook.h" #include "msg.h" diff --git a/src/s_stats.c b/src/s_stats.c index a22e729..4d0fc16 100644 --- a/src/s_stats.c +++ b/src/s_stats.c @@ -30,9 +30,7 @@ #include "irc_string.h" #include "ircd.h" #include "numeric.h" -#include "commio.h" #include "send.h" -#include "memory.h" #include "s_conf.h" #include "s_newconf.h" #include "whowas.h" diff --git a/src/s_user.c b/src/s_user.c index 8c7a920..0730093 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "s_user.h" #include "channel.h" #include "class.h" @@ -38,7 +37,6 @@ #include "listener.h" #include "msg.h" #include "numeric.h" -#include "commio.h" #include "s_conf.h" #include "s_newconf.h" #include "s_log.h" @@ -48,7 +46,6 @@ #include "send.h" #include "supported.h" #include "whowas.h" -#include "memory.h" #include "packet.h" #include "reject.h" #include "cache.h" diff --git a/src/scache.c b/src/scache.c index 525e5bd..8617743 100644 --- a/src/scache.c +++ b/src/scache.c @@ -32,7 +32,6 @@ #include "numeric.h" #include "send.h" #include "scache.h" -#include "memory.h" #include "s_conf.h" diff --git a/src/send.c b/src/send.c index e73f0ec..745f157 100644 --- a/src/send.c +++ b/src/send.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "send.h" #include "channel.h" #include "class.h" @@ -34,14 +33,11 @@ #include "irc_string.h" #include "ircd.h" #include "numeric.h" -#include "commio.h" #include "s_serv.h" #include "sprintf_irc.h" #include "s_conf.h" #include "s_newconf.h" -#include "linebuf.h" #include "s_log.h" -#include "memory.h" #include "hook.h" #include "monitor.h" diff --git a/src/substitution.c b/src/substitution.c index e6d48c4..28b9d31 100644 --- a/src/substitution.c +++ b/src/substitution.c @@ -34,8 +34,6 @@ */ #include "stdinc.h" -#include "tools.h" -#include "balloc.h" #include "s_user.h" #include "irc_string.h" diff --git a/src/supported.c b/src/supported.c index 8066c7f..f8a3250 100644 --- a/src/supported.c +++ b/src/supported.c @@ -81,7 +81,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "client.h" #include "common.h" #include "numeric.h" diff --git a/src/whowas.c b/src/whowas.c index cd615c1..1f7cd75 100644 --- a/src/whowas.c +++ b/src/whowas.c @@ -38,7 +38,6 @@ #include "s_user.h" #include "send.h" #include "s_conf.h" -#include "memory.h" #include "scache.h" /* internally defined function */