diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-08-11 16:15:48 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-08-11 16:15:48 -0700 |
commit | 95af0c14a64ef264d2b362ded4ca2b5a169d1066 (patch) | |
tree | fba4bb178de08e99f4c71f882809bab315cec33a /include | |
parent | bd1c082cf90d07e3ccb017b72e59b5ccad81dd07 (diff) | |
parent | a41ca77fabe1c7ad12ebb9b69b9e786c07d49fa0 (diff) | |
download | frameworks_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.h | 3 |
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. |