Revert "Test_cel: Fails when DONT_OPTIMIZE is off"

This reverts commit 1c8378bbc9.

Change-Id: I1b9227b263c3dc4246a50aebf52a7640a0f7ea07
pull/13/head
Corey Farrell 6 years ago
parent cb37486215
commit a40198a4d4
No known key found for this signature in database
GPG Key ID: D1B6E98EB07F7F6C

@ -1212,7 +1212,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

@ -430,18 +430,3 @@ int ast_vector_string_split(struct ast_vector_string *dest,
return 0;
}
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;
}

Loading…
Cancel
Save