diff --git a/share/libc/features.h b/share/libc/features.h
index 33ba5c44519ca2dbf961e7feea81bca02f001f58..19fe84cea75cd452a0885c7f0fae822280ac9f88 100644
--- a/share/libc/features.h
+++ b/share/libc/features.h
@@ -34,27 +34,12 @@
 #define __POP_FC_STDLIB
 #endif
 
-#if defined(__clang__) && defined(__cplusplus)
-# define __CLANG_IGNORE_ATTRS_PUSH__ \
-_Pragma("clang diagnostic push") \
-_Pragma("clang diagnostic ignored \"-Wunknown-attributes\"")
-# define __CLANG_IGNORE_ATTRS_POP__ \
-_Pragma("clang diagnostic pop")
-#else
-# define __CLANG_IGNORE_ATTRS_PUSH__
-# define __CLANG_IGNORE_ATTRS_POP__
-#endif
-
 #ifdef	__cplusplus
-# define __BEGIN_DECLS \
-extern "C" { \
-  __CLANG_IGNORE_ATTRS_PUSH__
-# define __END_DECLS \
-__CLANG_IGNORE_ATTRS_POP__ \
-}
+# define __BEGIN_DECLS	extern "C" {
+# define __END_DECLS	}
 #else
-# define __BEGIN_DECLS __CLANG_IGNORE_ATTRS_PUSH__
-# define __END_DECLS __CLANG_IGNORE_ATTRS_POP__
+# define __BEGIN_DECLS
+# define __END_DECLS
 #endif
 
 #undef __LEAF