summaryrefslogtreecommitdiffstats
path: root/include/ui/egl
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2009-08-13 16:50:54 -0700
committerDima Zavin <dima@android.com>2009-08-13 16:52:24 -0700
commit8db93389141fbce1e37f4c22f415fc2cebf19ebf (patch)
tree4598cf2c25cacbdd308bb6f849fde594dab6599d /include/ui/egl
parent455e3af1f82629d274447cd5d08d3c8dc1c58967 (diff)
downloadframeworks_base-8db93389141fbce1e37f4c22f415fc2cebf19ebf.zip
frameworks_base-8db93389141fbce1e37f4c22f415fc2cebf19ebf.tar.gz
frameworks_base-8db93389141fbce1e37f4c22f415fc2cebf19ebf.tar.bz2
ui: make native_window_set_usage be a static inline
Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'include/ui/egl')
-rw-r--r--include/ui/egl/android_natives.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ui/egl/android_natives.h b/include/ui/egl/android_natives.h
index 4c58e47..4747f4e 100644
--- a/include/ui/egl/android_natives.h
+++ b/include/ui/egl/android_natives.h
@@ -179,7 +179,7 @@ struct android_native_window_t
* reallocated.
*/
-inline int native_window_set_usage(
+static inline int native_window_set_usage(
struct android_native_window_t* window, int usage)
{
return window->perform(window, NATIVE_WINDOW_SET_USAGE, usage);