aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index 8c7a28d..501d11e 100644
--- a/util.h
+++ b/util.h
@@ -3,3 +3,4 @@
#define max(a, b) ((a > b) ? a : b)
void free_arr(void **arr, int n);
+int lsearch(const void *key, const void *base, size_t n, size_t size, int (*cmp)(const void *keyval, const void *datum));