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
|
@ -44,6 +44,7 @@
|
|||
#include "operhash.h"
|
||||
#include "reject.h"
|
||||
#include "hostmask.h"
|
||||
#include "logger.h"
|
||||
|
||||
static int m_ban(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
||||
static int ms_ban(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue