]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/supported.c
MyFree -> rb_free
[irc/rqf/shadowircd.git] / src / supported.c
index 9dd8395c91c41e9e8526329ed3305e384e876f47..60b7e599535ae32ddd0e02dcfdbdd11a6da05457 100644 (file)
@@ -81,7 +81,6 @@
  */
 
 #include "stdinc.h"
-#include "tools.h"
 #include "client.h"
 #include "common.h"
 #include "numeric.h"
@@ -114,10 +113,10 @@ add_isupport(const char *name, const char *(*func)(const void *), const void *pa
 void
 delete_isupport(const char *name)
 {
-       rb_dlink_node *ptr, *next_ptr;
+       rb_dlink_node *ptr, *rb_free(;
        struct isupportitem *item;
 
-       DLINK_FOREACH_SAFE(ptr, next_ptr, isupportlist.head)
+       RB_DLINK_FOREACH_SAFE(ptr, rb_free(, isupportlist.head)
        {
                item = ptr->data;
 
@@ -150,7 +149,7 @@ show_isupport(struct Client *client_p)
        extra_space += strlen(me.name) + 1 + strlen(form_str(RPL_ISUPPORT));
 
        nchars = extra_space, nparams = 0, buf[0] = '\0';
-       DLINK_FOREACH(ptr, isupportlist.head)
+       RB_DLINK_FOREACH(ptr, isupportlist.head)
        {
                item = ptr->data;
                value = (*item->func)(item->param);