]> jfr.im git - solanum.git/commit - modules/m_scan.c
Remove s_assert definition from ircd_defs.h and add it to its own header.
authorKeith Buck <redacted>
Tue, 10 Sep 2013 05:35:56 +0000 (05:35 +0000)
committerKeith Buck <redacted>
Tue, 10 Sep 2013 06:10:14 +0000 (06:10 +0000)
commit77d3d2dbafbb44bc4dc87c9d4612a646c546af5d
tree7b365cfa40e7cd5e30a7ab3e826d00035340bf92
parentd8c3d5fe974eb301aabc0c0be37a11730244a0da
Remove s_assert definition from ircd_defs.h and add it to its own header.

s_assert requires some higher-level functionality that shouldn't be
present in ircd_defs.h. ircd_defs.h is used by ssld, which has no notion
of logging or sending IRC messages. Additionally, some of the headers
s_assert depends on result in conflicting definitions in ssld.c.

This change also fixes the compile when using --enable-assert=soft.
48 files changed:
extensions/hurt.c
extensions/m_mkpasswd.c
extensions/m_okick.c
extensions/m_omode.c
include/ircd_defs.h
include/s_assert.h [new file with mode: 0644]
include/tgchange.h
modules/core/m_ban.c
modules/core/m_join.c
modules/core/m_nick.c
modules/m_cap.c
modules/m_etrace.c
modules/m_links.c
modules/m_list.c
modules/m_monitor.c
modules/m_operspy.c
modules/m_scan.c
modules/m_starttls.c
modules/m_topic.c
modules/m_user.c
modules/m_whois.c
src/blacklist.c
src/cache.c
src/capability.c
src/channel.c
src/chmode.c
src/client.c
src/hash.c
src/irc_dictionary.c
src/listener.c
src/match.c
src/monitor.c
src/packet.c
src/parse.c
src/privilege.c
src/ratelimit.c
src/res.c
src/reslib.c
src/s_auth.c
src/s_conf.c
src/s_newconf.c
src/s_serv.c
src/s_user.c
src/scache.c
src/substitution.c
src/supported.c
src/tgchange.c
src/whowas.c