Use restrict on pointers where it makes sense. (requires C99 support,
which we already assume)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user