diff options
author | Dan Stoza <stoza@google.com> | 2014-11-17 12:03:59 -0800 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2014-12-01 11:43:52 -0800 |
commit | 303b9a51239d36d237a7d40c67b5085cdb3c1059 (patch) | |
tree | 98c87d5810f7002c3a5bddef5c05bf1f17d70724 /include/ui/PixelFormat.h | |
parent | 456d35b34ff4303e428a904aef7540d3e6c4e72b (diff) | |
download | frameworks_native-303b9a51239d36d237a7d40c67b5085cdb3c1059.zip frameworks_native-303b9a51239d36d237a7d40c67b5085cdb3c1059.tar.gz frameworks_native-303b9a51239d36d237a7d40c67b5085cdb3c1059.tar.bz2 |
libui: Enable -Weverything and -Werror
Enables -Weverything and -Werror, with just a few exceptions for
warnings we can't (or shouldn't need to) work around.
Change-Id: I470a267e9b1c373f2d5c960f005c3b0e02b2db63
Diffstat (limited to 'include/ui/PixelFormat.h')
-rw-r--r-- | include/ui/PixelFormat.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/ui/PixelFormat.h b/include/ui/PixelFormat.h index 7e46945..e7e8ffc 100644 --- a/include/ui/PixelFormat.h +++ b/include/ui/PixelFormat.h @@ -25,9 +25,6 @@ #ifndef UI_PIXELFORMAT_H #define UI_PIXELFORMAT_H -#include <stdint.h> -#include <sys/types.h> -#include <utils/Errors.h> #include <hardware/hardware.h> namespace android { @@ -69,8 +66,8 @@ enum { typedef int32_t PixelFormat; -ssize_t bytesPerPixel(PixelFormat format); -ssize_t bitsPerPixel(PixelFormat format); +uint32_t bytesPerPixel(PixelFormat format); +uint32_t bitsPerPixel(PixelFormat format); }; // namespace android |