Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2023 05:25:14 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: eaaa7ca0c38c - main - cdefs: Remove __GNUCLIKE_BUILTIN_CONSTANT_P, it's unused
Message-ID:  <202311270525.3AR5PEQ7067126@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=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



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