summaryrefslogtreecommitdiffstats
path: root/include
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
commitfae3e73b6157555e8605f8b0c1d5b0bcc5b5ea00 (patch)
tree1beec506272f367f679bfe583eb1c7e816fdc91f /include
parent3bca35a3f4a7cf82eb04b1ae09f307e28de78830 (diff)
downloadframeworks_native-fae3e73b6157555e8605f8b0c1d5b0bcc5b5ea00.zip
frameworks_native-fae3e73b6157555e8605f8b0c1d5b0bcc5b5ea00.tar.gz
frameworks_native-fae3e73b6157555e8605f8b0c1d5b0bcc5b5ea00.tar.bz2
ui: make native_window_set_usage be a static inline
Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'include')
-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);