summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-08-11 16:15:48 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-08-11 16:15:48 -0700
commit95af0c14a64ef264d2b362ded4ca2b5a169d1066 (patch)
treefba4bb178de08e99f4c71f882809bab315cec33a /include
parentbd1c082cf90d07e3ccb017b72e59b5ccad81dd07 (diff)
parenta41ca77fabe1c7ad12ebb9b69b9e786c07d49fa0 (diff)
downloadframeworks_base-95af0c14a64ef264d2b362ded4ca2b5a169d1066.zip
frameworks_base-95af0c14a64ef264d2b362ded4ca2b5a169d1066.tar.gz
frameworks_base-95af0c14a64ef264d2b362ded4ca2b5a169d1066.tar.bz2
Merge "Add support for the PointerLocation overlay." into gingerbread
Diffstat (limited to 'include')
-rw-r--r--include/utils/String8.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/utils/String8.h b/include/utils/String8.h
index 4e41410..ef0b51a 100644
--- a/include/utils/String8.h
+++ b/include/utils/String8.h
@@ -171,7 +171,8 @@ public:
status_t append(const char* other);
status_t append(const char* other, size_t numChars);
- status_t appendFormat(const char* fmt, ...);
+ status_t appendFormat(const char* fmt, ...)
+ __attribute__((format (printf, 2, 3)));
// Note that this function takes O(N) time to calculate the value.
// No cache value is stored.