[PATCH 0/2] tools/nolibc: introduce poll.h

Thomas Weißschuh posted 2 patches 9 months, 1 week ago
tools/include/nolibc/Makefile |  1 +
tools/include/nolibc/nolibc.h |  1 +
tools/include/nolibc/poll.h   | 55 +++++++++++++++++++++++++++++++++++++++++++
tools/include/nolibc/sys.h    | 37 -----------------------------
tools/include/nolibc/types.h  | 14 -----------
5 files changed, 57 insertions(+), 51 deletions(-)
[PATCH 0/2] tools/nolibc: introduce poll.h
Posted by Thomas Weißschuh 9 months, 1 week ago
Move poll() to the standard poll.h and drop the custom related definitions.
This also allows to drop an iffy workaround from the nolibc next branch:
e1896bb9e079 ("selftests: harness: Guard includes on nolibc")

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Thomas Weißschuh (2):
      tools/nolibc: move poll() to poll.h
      tools/nolibc: use poll-related definitions from UAPI headers

 tools/include/nolibc/Makefile |  1 +
 tools/include/nolibc/nolibc.h |  1 +
 tools/include/nolibc/poll.h   | 55 +++++++++++++++++++++++++++++++++++++++++++
 tools/include/nolibc/sys.h    | 37 -----------------------------
 tools/include/nolibc/types.h  | 14 -----------
 5 files changed, 57 insertions(+), 51 deletions(-)
---
base-commit: e1896bb9e07948b4825883cbc3ca37cf59e17578
change-id: 20250430-poll-75dc16e95639

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh@linutronix.de>

Re: [PATCH 0/2] tools/nolibc: introduce poll.h
Posted by Willy Tarreau 9 months ago
Hi Thomas,

sorry for the delay!

On Wed, Apr 30, 2025 at 11:35:31AM +0200, Thomas Weißschuh wrote:
> Move poll() to the standard poll.h and drop the custom related definitions.
> This also allows to drop an iffy workaround from the nolibc next branch:
> e1896bb9e079 ("selftests: harness: Guard includes on nolibc")

This one will be pretty useful for a number of small programs which
try to be a bit interactive, that's nice.

Acked-by: Willy Tarreau <w@1wt.eu>

Thanks!
Willy