Date: Wed, 11 Jun 2025 17:00:26 GMT From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 2d92a5abefc9 - main - Add sys/stdarg.h Message-ID: <202506111700.55BH0Qu2042749@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=2d92a5abefc9cf6aa81fb7d23f8fcca4f1d6026d commit 2d92a5abefc9cf6aa81fb7d23f8fcca4f1d6026d Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2025-06-11 16:39:02 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2025-06-11 16:39:02 +0000 Add sys/stdarg.h While the type of va_list and implementation of va_*() psuedo functions varies (sometimes greatly) by architecture, they will always be defined by the compiler in a consistant way that does not require machine dependent handling. MFC after: 1 week Reviewed by: imp Exp-run by: antoine (PR 286274) Pull Request: https://github.com/freebsd/freebsd-src/pull/1595 --- include/Makefile | 4 ++-- sys/sys/stdarg.h | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/include/Makefile b/include/Makefile index 09b16d1f029e..af7ef2337941 100644 --- a/include/Makefile +++ b/include/Makefile @@ -39,9 +39,9 @@ INCS= a.out.h ar.h assert.h bitstring.h byteswap.h \ .PATH: ${SRCTOP}/contrib/libc-vis INCS+= vis.h -MHDRS= float.h floatingpoint.h stdarg.h +MHDRS= float.h floatingpoint.h -PHDRS= _semaphore.h +PHDRS= _semaphore.h stdarg.h LHDRS= aio.h errno.h fcntl.h linker_set.h poll.h stdatomic.h stdint.h \ syslog.h ucontext.h diff --git a/sys/sys/stdarg.h b/sys/sys/stdarg.h new file mode 100644 index 000000000000..d9266d12c7e1 --- /dev/null +++ b/sys/sys/stdarg.h @@ -0,0 +1,6 @@ +#ifndef __SYS_STDARG_H__ +#define __SYS_STDARG_H__ + +#include <sys/_stdarg.h> + +#endif /* __SYS_STDARG_H__ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506111700.55BH0Qu2042749>