git: d2ec42ca5751 - main - cdefs: Remove __GNUCLIKE_CTOR_SECTION_HANDLING, it's unused
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Nov 2023 05:25:13 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=d2ec42ca575132e5af70d8991c64157a291982e9
commit d2ec42ca575132e5af70d8991c64157a291982e9
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_CTOR_SECTION_HANDLING, it's unused
__GNUCLIKE_CTOR_SECTION_HANDLING 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 10eb0d6ede5f..2d29466b91e3 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -74,8 +74,6 @@
#if defined(__GNUC__)
-#define __GNUCLIKE_CTOR_SECTION_HANDLING 1
-
#define __GNUCLIKE_BUILTIN_CONSTANT_P 1
#if (__GNUC_MINOR__ > 95 || __GNUC__ >= 3)
diff --git a/tests/sys/opencrypto/cryptodevh.py b/tests/sys/opencrypto/cryptodevh.py
index 8f8b384305ce..1169980b1ebc 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_CTOR_SECTION_HANDLING = 1
__GNUCLIKE_BUILTIN_CONSTANT_P = 1
__GNUCLIKE_BUILTIN_VARARGS = 1
__GNUCLIKE_BUILTIN_STDARG = 1