Skip to content
Snippets Groups Projects
Commit dada56e9 authored by Chris Savinovich's avatar Chris Savinovich
Browse files

Revert "Test_cel: Fails when DONT_OPTIMIZE is off"

This reverts commit 9b85882f.

Change-Id: I36cf159abb103502e48d6f8fd70d560d7f0bda56
parent c9d039ba
Branches 13.25
No related tags found
No related merge requests found
......@@ -1257,7 +1257,19 @@ static force_inline int attribute_pure ast_str_case_hash(const char *str)
*
* \retval str for convenience
*/
char *attribute_pure ast_str_to_lower(char *str);
static force_inline char *attribute_pure ast_str_to_lower(char *str)
{
char *str_orig = str;
if (!str) {
return str;
}
for (; *str; ++str) {
*str = tolower(*str);
}
return str_orig;
}
/*!
* \brief Convert a string to all upper-case
......
......@@ -391,17 +391,3 @@ char *ast_read_line_from_buffer(char **buffer)
return start;
}
char *attribute_pure ast_str_to_lower(char *str)
{
char *str_orig = str;
if (!str) {
return str;
}
for (; *str; ++str) {
*str = tolower(*str);
}
return str_orig;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment