From: Felix Fietkau Date: Sat, 26 May 2012 15:52:19 +0000 (+0200) Subject: avl_strcmp is now part of libubox X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1c326d5a6cbef455e9ae148072161f620540ba54;p=oweals%2Fnetifd.git avl_strcmp is now part of libubox --- 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