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 fe7c152631
commit b3b1179c5a
12 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -48,6 +48,6 @@ const char *uc_val_2_str_bs(unsigned int val,
* @param array array to search
* @return the string associated with @val or null
*/
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);
#endif