diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-10-19 09:35:39 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-10-28 14:55:36 +0100 |
commit | caabdd0f59a9771ed095efe3ad5a08867b976ab2 (patch) | |
tree | 3e588a89ccaddec4fce4a183b3e9ccaa7c60fc51 /include/uapi/asm-generic | |
parent | qspinlock: use signed temporaries for cmpxchg (diff) | |
download | linux-caabdd0f59a9771ed095efe3ad5a08867b976ab2.tar.xz linux-caabdd0f59a9771ed095efe3ad5a08867b976ab2.zip |
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 'include/uapi/asm-generic')
0 files changed, 0 insertions, 0 deletions