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.
This commit is contained in:
parent
d8c3d5fe97
commit
77d3d2dbaf
48 changed files with 120 additions and 31 deletions
|
@ -40,6 +40,7 @@
|
|||
#include "modules.h"
|
||||
#include "packet.h"
|
||||
#include "tgchange.h"
|
||||
#include "logger.h"
|
||||
|
||||
static int m_topic(struct Client *, struct Client *, int, const char **);
|
||||
static int ms_topic(struct Client *, struct Client *, int, const char **);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue