git: cc02e98a953f - main - cdefs: Remove __GNUCLIKE_ASM
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Nov 2023 03:15:47 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=cc02e98a953f04760b5ad5b336598a4c5f97e5e2
commit cc02e98a953f04760b5ad5b336598a4c5f97e5e2
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-11-20 02:36:46 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-11-20 02:36:46 +0000
cdefs: Remove __GNUCLIKE_ASM
It's no longer used in the tree.
Exp Run PR: 275123
Sponsored by: Netflix
---
sys/sys/cdefs.h | 3 ---
tests/sys/opencrypto/cryptodevh.py | 2 --
2 files changed, 5 deletions(-)
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index 4f2c374a81cb..1829e19639c8 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -77,10 +77,7 @@
#if defined(__GNUC__)
#if __GNUC__ >= 3
-#define __GNUCLIKE_ASM 3
#define __GNUCLIKE_MATH_BUILTIN_CONSTANTS
-#else
-#define __GNUCLIKE_ASM 2
#endif
#define __GNUCLIKE___SECTION 1
diff --git a/tests/sys/opencrypto/cryptodevh.py b/tests/sys/opencrypto/cryptodevh.py
index 6cb33c4672e9..9db7d5d12d9c 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_ASM = 3
-__GNUCLIKE_ASM = 2
__GNUCLIKE___SECTION = 1
__GNUCLIKE_CTOR_SECTION_HANDLING = 1
__GNUCLIKE_BUILTIN_CONSTANT_P = 1