Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22242fb8 authored by Dan Albert's avatar Dan Albert
Browse files

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
parent 4ccb32ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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