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 | 2f09a77659e01067d0b742571db86d6cc2feb277 (patch) | |
tree | 652848dadcac8e516a04ce87989894eec40c4721 /include | |
parent | 0aa32b9dc999b2ded3d78812c56c9c774c50c5aa (diff) | |
parent | 3f9ff2076c41882c1e34f8d124df5f5e31b8c709 (diff) | |
download | frameworks_native-2f09a77659e01067d0b742571db86d6cc2feb277.zip frameworks_native-2f09a77659e01067d0b742571db86d6cc2feb277.tar.gz frameworks_native-2f09a77659e01067d0b742571db86d6cc2feb277.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. |