diff options
author | gaiaclary <gaia.clary@machinimatrix.org> | 2014-08-01 16:31:41 +0400 |
---|---|---|
committer | gaiaclary <gaia.clary@machinimatrix.org> | 2014-08-01 16:32:04 +0400 |
commit | 0d1484e4ad4766c063e86b85e16df975f5e72baa (patch) | |
tree | adc418e26a53b2b9dfc370cdd5070de413a68a8f | |
parent | 6d7333a2f5697fa2205605981384adeb44fea81a (diff) |
Make function definition consistent with function declaration (as discussed with campbell)
-rw-r--r-- | source/blender/blenlib/intern/string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c index aa705aaf63e..eeafc1a9e8f 100644 --- a/source/blender/blenlib/intern/string.c +++ b/source/blender/blenlib/intern/string.c @@ -648,7 +648,7 @@ int BLI_str_rstrip_float_zero(char *str, const char pad) * \param str_array_len The length of the array, or -1 for a NULL-terminated array. * \return The index of str in str_array or -1. */ -int BLI_str_index_in_array_n(const char *str, const char **str_array, const int str_array_len) +int BLI_str_index_in_array_n(const char *__restrict str, const char **__restrict str_array, const int str_array_len) { int index; const char **str_iter = str_array; @@ -668,7 +668,7 @@ int BLI_str_index_in_array_n(const char *str, const char **str_array, const int * \param str_array Array of strings, (must be NULL-terminated). * \return The index of str in str_array or -1. */ -int BLI_str_index_in_array(const char *str, const char **str_array) +int BLI_str_index_in_array(const char *__restrict str, const char **__restrict str_array) { int index; const char **str_iter = str_array; |