Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2023 05:25:12 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 45aa39f88403 - main - cdefs: Remove __GNUCLIKE___SECTION, it's unused.
Message-ID:  <202311270525.3AR5PCcE067042@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=45aa39f884033997c87f513fe7175f465132e468

commit 45aa39f884033997c87f513fe7175f465132e468
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-11-20 22:39:45 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-11-27 05:24:01 +0000

    cdefs: Remove __GNUCLIKE___SECTION, it's unused.
    
    __GNUCLIKE___SECTION 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 ff0981d59d29..10eb0d6ede5f 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -74,8 +74,6 @@
 
 #if defined(__GNUC__)
 
-#define	__GNUCLIKE___SECTION 1
-
 #define	__GNUCLIKE_CTOR_SECTION_HANDLING 1
 
 #define	__GNUCLIKE_BUILTIN_CONSTANT_P 1
diff --git a/tests/sys/opencrypto/cryptodevh.py b/tests/sys/opencrypto/cryptodevh.py
index 9db7d5d12d9c..8f8b384305ce 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___SECTION = 1
 __GNUCLIKE_CTOR_SECTION_HANDLING = 1
 __GNUCLIKE_BUILTIN_CONSTANT_P = 1
 __GNUCLIKE_BUILTIN_VARARGS = 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311270525.3AR5PCcE067042>