summaryrefslogtreecommitdiffhomepage
path: root/utils.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-07 09:15:42 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-09-07 09:16:05 +0200
commit3492219e211678c56b48d3f544cb0c0da9d606a0 (patch)
tree447a8b9febb0007bc7e7189af869fe9592a991db /utils.c
parent35a4acbb989cabbbbf90e0f720149f2e95c727b5 (diff)
move some code to utils.[ch]
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils.c b/utils.c
new file mode 100644
index 0000000..cf0718a
--- /dev/null
+++ b/utils.c
@@ -0,0 +1,8 @@
+#include <string.h>
+#include "utils.h"
+
+int avl_strcmp(const void *k1, const void *k2, void *ptr)
+{
+ return strcmp(k1, k2);
+}
+