git: a83d4fe9cbc5 - main - cdefs: Remove some builtin defines, they are unused
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Nov 2023 05:25:16 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=a83d4fe9cbc51adcefb8a1070374186f3399fef4
commit a83d4fe9cbc51adcefb8a1070374186f3399fef4
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 some builtin defines, they are unused
Remove __GNUCLIKE_BUILTIN_NEXT_ARG, __GNUCLIKE_MATH_BUILTIN_RELOPS,
__GNUCLIKE_BUILTIN_MEMCPY: they are unused. Also remove them from the
generated cryptodevh.py script.
PR: 275221 (exp-run)
Sponsored by: Netflix
---
sys/sys/cdefs.h | 5 -----
tests/sys/opencrypto/cryptodevh.py | 2 --
2 files changed, 7 deletions(-)
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index f93a70245e5e..5782735187c5 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -79,11 +79,6 @@
*/
#define __compiler_membar() __asm __volatile(" " : : : "memory")
-#define __GNUCLIKE_BUILTIN_NEXT_ARG 1
-#define __GNUCLIKE_MATH_BUILTIN_RELOPS
-
-#define __GNUCLIKE_BUILTIN_MEMCPY 1
-
/* XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced */
#define __CC_SUPPORTS_INLINE 1
#define __CC_SUPPORTS___INLINE 1
diff --git a/tests/sys/opencrypto/cryptodevh.py b/tests/sys/opencrypto/cryptodevh.py
index 79af275ce340..d6982c26f1cf 100644
--- a/tests/sys/opencrypto/cryptodevh.py
+++ b/tests/sys/opencrypto/cryptodevh.py
@@ -23,8 +23,6 @@ def __has_include(x): return 0
def __has_builtin(x): return 0
-__GNUCLIKE_BUILTIN_NEXT_ARG = 1
-__GNUCLIKE_BUILTIN_MEMCPY = 1
__CC_SUPPORTS_INLINE = 1
__CC_SUPPORTS___INLINE = 1
__CC_SUPPORTS___INLINE__ = 1