]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/nolibc: use poll-related definitions from UAPI headers
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 30 Apr 2025 09:35:33 +0000 (11:35 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Wed, 21 May 2025 13:32:00 +0000 (15:32 +0200)
commit1f421ddf494d3263842bcf430a683aaf33c3e31c
tree1e677ce42483eb2b9436f2e33be1f957181524ea
parentdc2c656e1f687d9f8decc4ee10092ee7258722c1
tools/nolibc: use poll-related definitions from UAPI headers

The UAPI headers already provide definitions for these symbols.
Using them makes the code shorter, more robust and compatible with
applications using linux/poll.h directly.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250430-poll-v1-2-44b5ceabdeee@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/poll.h
tools/include/nolibc/types.h