* $Id: monitor.c 3520 2007-06-30 22:15:35Z jilles $
*/
#include "stdinc.h"
-#include "tools.h"
#include "client.h"
-#include "memory.h"
-#include "balloc.h"
#include "monitor.h"
#include "hash.h"
-#include "event.h"
#include "numeric.h"
static struct monitor *monitorTable[MONITOR_HASH_SIZE];
struct monitor *monptr;
rb_dlink_node *ptr, *next_ptr;
- DLINK_FOREACH_SAFE(ptr, next_ptr, client_p->localClient->monitor_list.head)
+ RB_DLINK_FOREACH_SAFE(ptr, next_ptr, client_p->localClient->monitor_list.head)
{
monptr = ptr->data;