mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-07 05:41:43 +00:00
make a note of TODO in str.c
This commit is contained in:
parent
3e8a0cc693
commit
ef59d3aa7f
@ -454,6 +454,7 @@ R_API int r_str_word_count(const char *string) {
|
||||
|
||||
// Returns a pointer to the first instance of a character that isn't chr in a
|
||||
// string.
|
||||
// TODO: make this const-correct.
|
||||
R_API char *r_str_ichr(char *str, char chr) {
|
||||
while (*str==chr) str++;
|
||||
return str;
|
||||
|
Loading…
Reference in New Issue
Block a user