Rename the value string functions to be a bit mroe sensible

This commit is contained in:
Nils O. Selåsdal
2014-02-04 15:15:17 +01:00
parent eeed97e938
commit 39290eefb7
3 changed files with 24 additions and 23 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
#include "ucore/saturating_math.h"
const char *uc_vs_search(unsigned int val, const struct UCValStr *array)
const char *uc_val_2_str(unsigned int val, const struct UCValStr *array)
{
const char *found = NULL;
@@ -19,7 +19,7 @@ const char *uc_vs_search(unsigned int val, const struct UCValStr *array)
return found;
}
const char *uc_vs_bsearch(unsigned int val,
const char *uc_val_2_str_bs(unsigned int val,
const struct UCValStr *array,
size_t array_len)
{