Skip to content
Commit 32a0c04e authored by Kevin Brodsky's avatar Kevin Brodsky
Browse files

uapi/linux/const.h: Prefer ISO-friendly __typeof__



typeof is (still) a GNU extension, which means that it cannot be
used when building ISO C (e.g. -std=c99). It should therefore be
avoided in uapi headers in favour of the ISO-friendly __typeof__.

Reported-by: Ruben Ayrapetyan's avatarRuben Ayrapetyan <ruben.ayrapetyan@arm.com>
Tested-by: Ruben Ayrapetyan's avatarRuben Ayrapetyan <ruben.ayrapetyan@arm.com>
Signed-off-by: Kevin Brodsky's avatarKevin Brodsky <kevin.brodsky@arm.com>
parent d2a8a295
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment