git: eaaa7ca0c38c - main - cdefs: Remove __GNUCLIKE_BUILTIN_CONSTANT_P, it's unused
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Nov 2023 05:25:14 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=eaaa7ca0c38c014f2f2c0a06b82f83baa03b2d60 commit eaaa7ca0c38c014f2f2c0a06b82f83baa03b2d60 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2023-11-20 22:40:55 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-11-27 05:24:02 +0000 cdefs: Remove __GNUCLIKE_BUILTIN_CONSTANT_P, it's unused __GNUCLIKE_BUILTIN_CONSTANT_P is unused, remove it. Also remove it from the generated cryptodevh.py script. PR: 275221 (exp-run) Sponsored by: Netflix --- sys/sys/cdefs.h | 2 -- tests/sys/opencrypto/cryptodevh.py | 1 - 2 files changed, 3 deletions(-) diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 2d29466b91e3..3d6eb5a27c77 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -74,8 +74,6 @@ #if defined(__GNUC__) -#define __GNUCLIKE_BUILTIN_CONSTANT_P 1 - #if (__GNUC_MINOR__ > 95 || __GNUC__ >= 3) #define __GNUCLIKE_BUILTIN_VARARGS 1 #define __GNUCLIKE_BUILTIN_STDARG 1 diff --git a/tests/sys/opencrypto/cryptodevh.py b/tests/sys/opencrypto/cryptodevh.py index 1169980b1ebc..551486e67fa4 100644 --- a/tests/sys/opencrypto/cryptodevh.py +++ b/tests/sys/opencrypto/cryptodevh.py @@ -23,7 +23,6 @@ def __has_include(x): return 0 def __has_builtin(x): return 0 -__GNUCLIKE_BUILTIN_CONSTANT_P = 1 __GNUCLIKE_BUILTIN_VARARGS = 1 __GNUCLIKE_BUILTIN_STDARG = 1 __GNUCLIKE_BUILTIN_VAALIST = 1