cdefs: Remove vararg related defines, they are unused.

Remove __GNUCLIKE_BUILTIN_VARARGS, __GNUCLIKE_BUILTIN_STDARG,
__GNUCLIKE_BUILTIN_VAALIST, __GNUC_VA_LIST_COMPATIBILITY: they are
unused. Also remove them from the generated cryptodevh.py script.

PR: 275221 (exp-run)
Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2023-11-20 15:40:55 -07:00
parent eaaa7ca0c3
commit 9e55552208
2 changed files with 0 additions and 12 deletions

View file

@ -74,14 +74,6 @@
#if defined(__GNUC__)
#if (__GNUC_MINOR__ > 95 || __GNUC__ >= 3)
#define __GNUCLIKE_BUILTIN_VARARGS 1
#define __GNUCLIKE_BUILTIN_STDARG 1
#define __GNUCLIKE_BUILTIN_VAALIST 1
#endif
#define __GNUC_VA_LIST_COMPATIBILITY 1
/*
* Compiler memory barriers, specific to gcc and clang.
*/

View file

@ -23,10 +23,6 @@ def __has_include(x): return 0
def __has_builtin(x): return 0
__GNUCLIKE_BUILTIN_VARARGS = 1
__GNUCLIKE_BUILTIN_STDARG = 1
__GNUCLIKE_BUILTIN_VAALIST = 1
__GNUC_VA_LIST_COMPATIBILITY = 1
__GNUCLIKE_BUILTIN_NEXT_ARG = 1
__GNUCLIKE_BUILTIN_MEMCPY = 1
__CC_SUPPORTS_INLINE = 1