summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Properties.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-10 15:23:43 -0800
committerAndreas Gampe <agampe@google.com>2014-11-10 15:58:04 -0800
commit1e19674107e1aa2224c2b8c7d12bfa057efe80ea (patch)
tree512f1a8a715497c2cde26d6ca070d923fd9c3a45 /libs/hwui/Properties.h
parent487ae9b8dc3e08c1a830d519a801a07cd59c8f2b (diff)
downloadframeworks_base-1e19674107e1aa2224c2b8c7d12bfa057efe80ea.zip
frameworks_base-1e19674107e1aa2224c2b8c7d12bfa057efe80ea.tar.gz
frameworks_base-1e19674107e1aa2224c2b8c7d12bfa057efe80ea.tar.bz2
Frameworks/base: Wall Werror in libs/hwui
Turn on -Wall -Werror in libs/hwui. Fix errors. Change-Id: I74962d08c889712dacbd0d86d6760fc10802b6bd
Diffstat (limited to 'libs/hwui/Properties.h')
-rw-r--r--libs/hwui/Properties.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h
index 7eb9a32..8d529c6 100644
--- a/libs/hwui/Properties.h
+++ b/libs/hwui/Properties.h
@@ -244,7 +244,7 @@ enum DebugLevel {
// Converts a number of kilo-bytes into bytes
#define KB(s) s * 1024
-static DebugLevel readDebugLevel() {
+static inline DebugLevel readDebugLevel() {
char property[PROPERTY_VALUE_MAX];
if (property_get(PROPERTY_DEBUG, property, NULL) > 0) {
return (DebugLevel) atoi(property);