Index: util/mach/exception_types.cc |
diff --git a/util/mach/exception_types.cc b/util/mach/exception_types.cc |
index 4f6f8f75a87d69e8f30241d1e4278fcb5040ab8d..0199b3145a7cd1d6e3823860136ebe98b28a5d0e 100644 |
--- a/util/mach/exception_types.cc |
+++ b/util/mach/exception_types.cc |
@@ -35,6 +35,10 @@ extern "C" { |
int proc_get_wakemon_params(pid_t pid, int* rate_hz, int* flags) |
__OSX_AVAILABLE_STARTING(__MAC_10_9, __IPHONE_7_0); |
+// Redeclare the method without the availability annotation to suppress the |
+// -Wpartial-availability warning. |
+int proc_get_wakemon_params(pid_t pid, int* rate_hz, int* flags); |
+ |
} // extern "C" |
#else |