From 1c326d5a6cbef455e9ae148072161f620540ba54 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 26 May 2012 17:52:19 +0200 Subject: [PATCH] avl_strcmp is now part of libubox --- utils.c | 6 ------ utils.h | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/utils.c b/utils.c index 9d5802a..0894c65 100644 --- a/utils.c +++ b/utils.c @@ -15,12 +15,6 @@ #include #include "utils.h" -int -avl_strcmp(const void *k1, const void *k2, void *ptr) -{ - return strcmp(k1, k2); -} - void vlist_init(struct vlist_tree *tree, avl_tree_comp cmp, vlist_update_cb update) { diff --git a/utils.h b/utils.h index 5b6c5e7..f5ccfaa 100644 --- a/utils.h +++ b/utils.h @@ -16,6 +16,7 @@ #include #include +#include #include #ifndef __OPTIMIZE__ @@ -149,6 +150,4 @@ static inline int fls(int x) } #endif -int avl_strcmp(const void *k1, const void *k2, void *ptr); - #endif -- 2.25.1