]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/supported.c
MyFree -> rb_free
[irc/rqf/shadowircd.git] / src / supported.c
index 8066c7f98bf5c5902417859ca2c86a535684220e..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;
 
-       RB_DLINK_FOREACH_SAFE(ptr, next_ptr, isupportlist.head)
+       RB_DLINK_FOREACH_SAFE(ptr, rb_free(, isupportlist.head)
        {
                item = ptr->data;