summaryrefslogtreecommitdiff
path: root/desktop/unx/source/splashx.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/unx/source/splashx.c')
-rw-r--r--desktop/unx/source/splashx.c10
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