summaryrefslogtreecommitdiff
path: root/src/string_vec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_vec.c')
-rw-r--r--src/string_vec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_vec.c b/src/string_vec.c
index f5cf899..8c59607 100644
--- a/src/string_vec.c
+++ b/src/string_vec.c
@@ -138,7 +138,7 @@ void string_vec_uniq(struct string_vec *restrict vec)
vec->count = count;
}
-struct scored_string *string_vec_find(struct string_vec *restrict vec, const char * str)
+struct scored_string *string_vec_find_sorted(struct string_vec *restrict vec, const char * str)
{
return bsearch(&str, vec->buf, vec->count, sizeof(vec->buf[0]), cmpstringp);
}