rem: size_t str_len = strlen(str); size_t ext_len = strlen(ext);
add: size_t nameLength = strlen(name); size_t extLength = strlen(ext);
context: has_extension(char *str, char *ext){	size_t str_len = strlen(str);	size_t ext_len = strlen(ext);	if (str_len > ext_len)		return (strcmp(str + str_len - ext_len, ext) == 0);	return false;}