blob: a8f054ec3a5c8097ecd574e5c1b7a03937a4c83e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// SPDX-License-Identifier: BSD-2-Clause
/*
* Copyright (c) 2015, Linaro Limited
*/
#include <ctype.h>
int __builtin_tolower(int c)
{
if (c >= 'A' && c <= 'Z')
return c - 'A' + 'a';
return c;
}
|