diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-27 11:49:40 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-27 11:49:57 +0100 |
commit | 71907bb06ae6fc3c0ea1485b6ed0efaed196a57a (patch) | |
tree | 3cdba1bdd82b1e5aedcf12f2d78907c5f9a1fda8 /desktop/unx/source/splashx.c | |
parent | 6e9be7c8a3c2145d923612889f209fe4874139c3 (diff) |
-Wunused-macros
Change-Id: Ia147a72a4bbd5cec45a2a74b721a81ff8c4340c2
Diffstat (limited to 'desktop/unx/source/splashx.c')
-rw-r--r-- | desktop/unx/source/splashx.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c index 2a5f654eaee0..339218c32ac9 100644 --- a/desktop/unx/source/splashx.c +++ b/desktop/unx/source/splashx.c @@ -99,18 +99,6 @@ struct splash #define PROGRESS_YOFFSET 18 #define PROGRESS_BARSPACE 2 -#define UINT8( x ) ( (unsigned int)( ( (uint8_t *)( x ) )[0] ) ) - -#define UINT16( x ) ( ( (unsigned int)( ( (uint8_t *)( x ) )[0] ) ) + \ - ( ( (unsigned int)( ( (uint8_t *)( x ) )[1] ) ) << 8 ) ) - -#define UINT32( x ) ( ( (unsigned int)( ( (uint8_t *)( x ) )[0] ) ) + \ - ( ( (unsigned int)( ( (uint8_t *)( x ) )[1] ) ) << 8 ) + \ - ( ( (unsigned int)( ( (uint8_t *)( x ) )[2] ) ) << 16 ) + \ - ( ( (unsigned int)( ( (uint8_t *)( x ) )[3] ) ) << 24 ) ) - -#define MAX( x, y ) ( ( (x) > (y) )? (x): (y) ) - /* libpng-1.2.41 */ #ifndef PNG_TRANSFORM_GRAY_TO_RGB # define PNG_TRANSFORM_GRAY_TO_RGB 0x2000 |