summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-13 20:00:25 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-04-13 20:00:25 +0200
commit1f8dc227cdd425f1313f564fd074c614bb1954a3 (patch)
treea19a89983eff1a9395d1c9900192da2218de2d41 /main.c
parenta4eca2d98c01e39bc12e284a257cf2f684104011 (diff)
make avl_strcmp globally visible
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.c b/main.c
index 69aa5cd..4f6a4f6 100644
--- a/main.c
+++ b/main.c
@@ -6,6 +6,11 @@
#include "netifd.h"
#include "ubus.h"
+int avl_strcmp(const void *k1, const void *k2, void *ptr)
+{
+ return strcmp(k1, k2);
+}
+
static int usage(const char *progname)
{
fprintf(stderr, "Usage: %s [options]\n"