Allow a message argument for __DEPRECATED_IN.
The messages come from a different CL in AOSP, but that CL breaks
internally because this code doesn't exist in AOSP. Merging the
compatibility thing first so I can land the rest in AOSP.
Bug: None
Test: None
Change-Id: I906c6ea7bd6d891aba9e185756131ac5b34f3c3d
diff --git a/include/android/choreographer.h b/include/android/choreographer.h
index d4f30ef..8927d2c 100644
--- a/include/android/choreographer.h
+++ b/include/android/choreographer.h
@@ -58,7 +58,7 @@
#define __INTRODUCED_IN(__api_level) /* nothing */
#endif
#if !defined(__DEPRECATED_IN)
-#define __DEPRECATED_IN(__api_level) __attribute__((__deprecated__))
+#define __DEPRECATED_IN(__api_level, ...) __attribute__((__deprecated__))
#endif
__BEGIN_DECLS