From 3af17aef2b0391a9b58f03f7e37e14aed4f9cdfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Tue, 7 Dec 2021 23:34:33 +0100 Subject: [PATCH] sys/_bitset.h: revert commit 74e014dbfab It caused kernel build for PowerPC64 to fail. A different patch is being tested with make universe to make sure it works on all architectures. MFC after: 1 month --- newlib/libc/sys/rtems/include/sys/_bitset.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/newlib/libc/sys/rtems/include/sys/_bitset.h b/newlib/libc/sys/rtems/include/sys/_bitset.h index 8ce632333..1c167daf3 100644 --- a/newlib/libc/sys/rtems/include/sys/_bitset.h +++ b/newlib/libc/sys/rtems/include/sys/_bitset.h @@ -61,13 +61,11 @@ struct _t { \ * Define a default type that can be used while manually specifying size * to every call. */ -__BITSET_DEFINE(__bitset, 1); +__BITSET_DEFINE(bitset, 1); #if defined(_KERNEL) || defined(_WANT_FREEBSD_BITSET) #define BITSET_DEFINE(_t, _s) __BITSET_DEFINE(_t, _s) #define BITSET_DEFINE_VAR(_t) __BITSET_DEFINE_VAR(_t) - -#define bitset __bitset #endif #endif /* !_SYS__BITSET_H_ */