ui: make native_window_set_usage be a static inline
Signed-off-by: Dima Zavin <dima@android.com>
This commit is contained in:
@@ -179,7 +179,7 @@ struct android_native_window_t
|
|||||||
* reallocated.
|
* reallocated.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
inline int native_window_set_usage(
|
static inline int native_window_set_usage(
|
||||||
struct android_native_window_t* window, int usage)
|
struct android_native_window_t* window, int usage)
|
||||||
{
|
{
|
||||||
return window->perform(window, NATIVE_WINDOW_SET_USAGE, usage);
|
return window->perform(window, NATIVE_WINDOW_SET_USAGE, usage);
|
||||||
|
|||||||
Reference in New Issue
Block a user