diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-07-02 17:45:34 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-07-02 17:46:25 +0200 |
commit | 278000a28b8eceb8528ebdcf1d601de8192979e8 (patch) | |
tree | a522e5b53bca5d3e34c8a86d7bbee25a1ad15b3a /desktop | |
parent | 892bb81d17b3351c196661c44fb15b29509c7115 (diff) |
Remove unused defines
Some of them were commented out for documentation purpose.
Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/unx/source/splashx.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c index 3d3981d232f4..b08ba4804877 100644 --- a/desktop/unx/source/splashx.c +++ b/desktop/unx/source/splashx.c @@ -99,9 +99,6 @@ struct splash #define PROGRESS_YOFFSET 18 #define PROGRESS_BARSPACE 2 -#define BMP_HEADER_LEN 14 -#define WIN_INFO_LEN 40 - #define UINT8( x ) ( (unsigned int)( ( (uint8_t *)( x ) )[0] ) ) #define UINT16( x ) ( ( (unsigned int)( ( (uint8_t *)( x ) )[0] ) ) + \ @@ -114,13 +111,6 @@ struct splash #define MAX( x, y ) ( ( (x) > (y) )? (x): (y) ) -#define LOAD_FAILURE( msg ) \ - { \ - fprintf( stderr, "%s: " msg, filename ); \ - close( fd ); \ - return 0; \ - } - /* libpng-1.2.41 */ #ifndef PNG_TRANSFORM_GRAY_TO_RGB # define PNG_TRANSFORM_GRAY_TO_RGB 0x2000 |