diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-10-19 10:35:39 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-10-28 16:55:36 +0300 |
commit | caabdd0f59a9771ed095efe3ad5a08867b976ab2 (patch) | |
tree | 3e588a89ccaddec4fce4a183b3e9ccaa7c60fc51 /arch | |
parent | f44ca0871b7a98b075560711d48849914a102221 (diff) | |
download | linux-caabdd0f59a9771ed095efe3ad5a08867b976ab2.tar.xz |
ctype.h: remove duplicate isdigit() helper
gcc warns a few thousand times about the isdigit() shadow:
include/linux/ctype.h:26:19: warning: declaration of 'isdigit' shadows a built-in function [-Wshadow]
As there is already a compiler builtin, just use that, and make
it clear we do that by defining a macro. Unfortunately, clang
does not have the isdigit() builtin, so this has to be conditional.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions