Archived
1
0
Fork 0

removed debug.h in favor for log.h

This commit is contained in:
Henrik Hautakoski 2010-11-21 16:38:04 +01:00
parent 8ad0243c31
commit f156e8906c
9 changed files with 28 additions and 74 deletions

View file

@ -10,9 +10,9 @@
* Based on the work of Julienne Walker's rbtree implementation
* http://www.eternallyconfuzzled.com/tuts/datastructures/jsw_tut_rbtree.aspx
*/
#include <malloc.h>
#include <string.h>
#include "xalloc.h"
#include "debug.h"
#include "rbtree.h"
#define is_red(n) ((n) != NULL && (n)->color == RB_RED)
@ -114,8 +114,6 @@ rbnode* rbtree_search(rbtree *tree, unsigned key) {
while(n) {
dprint("SEARCH: check %u\n", n->key);
if (n->key == key)
break;