linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] nolibc: remove reliance on system headers
@ 2023-08-30 15:07 Thomas Weißschuh
  2023-08-30 15:07 ` [PATCH v2 1/2] tools/nolibc: add stdarg.h header Thomas Weißschuh
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Thomas Weißschuh @ 2023-08-30 15:07 UTC (permalink / raw)
  To: Willy Tarreau, Shuah Khan
  Cc: Zhangjin Wu, Yuan Tan, linux-kernel, linux-kselftest,
	Thomas Weißschuh

This was prompted by the discussion about output directory support with
O=.
It seems sometimes we were pulling in system headers making testing
annoying and unreliable.

Willy:

I did not implement the '#ifdef va_start` guard that we discussed
before. In my understanding the latest agreement does not need it
anymore. Please let me know if this is incorrect.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Changes in v2:
- Adapt comment in nolibc.h
- <stdarg.h> -> "stdarg.h"
- Link to v1: https://lore.kernel.org/r/20230827-nolibc-nostdinc-v1-0-995d1811f1f3@weissschuh.net

---
Thomas Weißschuh (2):
      tools/nolibc: add stdarg.h header
      selftests/nolibc: use -nostdinc for nolibc-test

 tools/include/nolibc/Makefile           |  1 +
 tools/include/nolibc/nolibc.h           |  4 ++--
 tools/include/nolibc/stdarg.h           | 16 ++++++++++++++++
 tools/include/nolibc/stdio.h            |  3 +--
 tools/include/nolibc/sys.h              |  2 +-
 tools/testing/selftests/nolibc/Makefile |  2 +-
 6 files changed, 22 insertions(+), 6 deletions(-)
---
base-commit: 556fb7131e03b0283672fb40f6dc2d151752aaa7
change-id: 20230827-nolibc-nostdinc-203908130d67

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-31  5:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-30 15:07 [PATCH v2 0/2] nolibc: remove reliance on system headers Thomas Weißschuh
2023-08-30 15:07 ` [PATCH v2 1/2] tools/nolibc: add stdarg.h header Thomas Weißschuh
2023-08-30 15:07 ` [PATCH v2 2/2] selftests/nolibc: use -nostdinc for nolibc-test Thomas Weißschuh
2023-08-30 20:48 ` [PATCH v2 0/2] nolibc: remove reliance on system headers Willy Tarreau
2023-08-31  4:12   ` Zhangjin Wu
2023-08-31  5:31     ` Willy Tarreau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).