git: 42f3faa762f8 - main - cdefs.h: Remove __GNUCLIKE___OFFSETOF, it's unused
Warner Losh
imp at FreeBSD.org
Thu May 6 22:43:52 UTC 2021
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=42f3faa762f8cc52ac2cb24b5d07c075826c3f9f
commit 42f3faa762f8cc52ac2cb24b5d07c075826c3f9f
Author: Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-05-06 22:34:55 +0000
Commit: Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-05-06 22:34:55 +0000
cdefs.h: Remove __GNUCLIKE___OFFSETOF, it's unused
__GNUCLIKE___OFFSETOF is unreferenced in the tree, remove it as long
obsolete.
Sponsored by: Netflix
---
sys/sys/cdefs.h | 1 -
tests/sys/opencrypto/cryptodevh.py | 1 -
2 files changed, 2 deletions(-)
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index 309b2a4004a6..f8e31c25bdb5 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -84,7 +84,6 @@
#define __GNUCLIKE_ASM 2
#endif
#define __GNUCLIKE___TYPEOF 1
-#define __GNUCLIKE___OFFSETOF 1
#define __GNUCLIKE___SECTION 1
#define __GNUCLIKE_CTOR_SECTION_HANDLING 1
diff --git a/tests/sys/opencrypto/cryptodevh.py b/tests/sys/opencrypto/cryptodevh.py
index c5719e47c8c1..43aa04691707 100644
--- a/tests/sys/opencrypto/cryptodevh.py
+++ b/tests/sys/opencrypto/cryptodevh.py
@@ -27,7 +27,6 @@ def __has_builtin(x): return 0
__GNUCLIKE_ASM = 3
__GNUCLIKE_ASM = 2
__GNUCLIKE___TYPEOF = 1
-__GNUCLIKE___OFFSETOF = 1
__GNUCLIKE___SECTION = 1
__GNUCLIKE_CTOR_SECTION_HANDLING = 1
__GNUCLIKE_BUILTIN_CONSTANT_P = 1
More information about the dev-commits-src-all
mailing list