aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/evdev
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2025-10-17 03:49:14 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2025-10-17 21:48:30 +0000
commit3c052bec12fcf09f81ba0760ebecec38e196d332 (patch)
treee1bd7fcc634b744747fe398f29400a3c24cf4c7e /sys/dev/evdev
parent96d82d2d133acaf8effa2e3aee546276e39ff9f2 (diff)
include/stdckdint.h: make the header compatible with C++
by removing the cast to _Bool. The _Bool type is not defined for C++, and the specification from the gcc info doc states that the return type of the __builtin_{add,sub,mul}_overflow() is bool already. This is done instead of including stdbool.h to avoid namespace pollution, since defining bool from stdckdint.h simingly is not sanctioned by ISO/IEC 9899:2024. PR: 290299 Reviewed by: des Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D53149
Diffstat (limited to 'sys/dev/evdev')
0 files changed, 0 insertions, 0 deletions