[PATCH 3/6] cdefs.h: Remove __GNUCLIKE___OFFSETOF, it's unused

Sebastian Huber sebastian.huber@embedded-brains.de
Mon Jul 11 07:15:44 GMT 2022


From: Warner Losh <imp@FreeBSD.org>

__GNUCLIKE___OFFSETOF is unreferenced in the tree, remove it as long
obsolete.

Sponsored by:		Netflix
---
 newlib/libc/include/sys/cdefs.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/newlib/libc/include/sys/cdefs.h b/newlib/libc/include/sys/cdefs.h
index 7dff2c8d8..6d179c2b4 100644
--- a/newlib/libc/include/sys/cdefs.h
+++ b/newlib/libc/include/sys/cdefs.h
@@ -110,7 +110,6 @@
 #define	__GNUCLIKE_ASM 2
 #endif
 #define	__GNUCLIKE___TYPEOF 1
-#define	__GNUCLIKE___OFFSETOF 1
 #define	__GNUCLIKE___SECTION 1
 
 #define	__GNUCLIKE_CTOR_SECTION_HANDLING 1
-- 
2.35.3



More information about the Newlib mailing list