Disable warning: passing no argument for the '...' parameter of a variadic macro is a C23 extension



Bug: b/372529642
Change-Id: I606429a647570b75e38ae09e468705e88111c048
diff --git a/libc/include/android/versioning.h b/libc/include/android/versioning.h
index 4411aa1..b09cf14 100644
--- a/libc/include/android/versioning.h
+++ b/libc/include/android/versioning.h
@@ -42,7 +42,12 @@
 #define __BIONIC_AVAILABILITY(__what, ...) __attribute__((__availability__(android,strict,__what __VA_OPT__(,) __VA_ARGS__)))
 #endif
 
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wc23-extensions"
+// Passing no argument for the '...' parameter of a variadic macro is a C23 extension
 #define __INTRODUCED_IN(api_level) __BIONIC_AVAILABILITY(introduced=api_level)
+#pragma clang diagnostic pop
+
 #define __DEPRECATED_IN(api_level, msg) __BIONIC_AVAILABILITY(deprecated=api_level, message=msg)
 #define __REMOVED_IN(api_level, msg) __BIONIC_AVAILABILITY(obsoleted=api_level, message=msg)