Use restrict on pointers where it makes sense. (requires C99 support,

which we already assume)
This commit is contained in:
Nils O. Selåsdal
2014-05-25 23:07:08 +02:00
parent a24aa93b73
commit 5bd23d751f
12 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ const char *uc_val_2_str_bs(unsigned int val,
return found;
}
const char *uc_str_2_str(const char *val, const struct UCStrStr *array)
const char *uc_str_2_str(const char *restrict val, const struct UCStrStr *array)
{
const char *found = NULL;