diff --git a/src/tuxpaint.c b/src/tuxpaint.c index ed3c7a60a..8a7722812 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -114,6 +114,7 @@ static unsigned draw_colors(unsigned action); + /* hide all scale-related values here */ typedef struct scaleparams { @@ -549,6 +550,10 @@ static void mtw(wchar_t * wtok, char *tok) #endif #endif + +int TP_EventFilter(const SDL_Event * event); + + /* #define fmemopen_alternative */ /* Uncomment this to test the fmemopen alternative in systems were fmemopen exists */ #if defined (WIN32) || defined (__APPLE__) || defined(__NetBSD__) || defined(__sun) /* MINGW/MSYS, NetBSD, and MacOSX need it, at least for now */ @@ -12879,7 +12884,10 @@ static void do_png_embed_data(png_structp png_ptr) unsigned char *chunk_data; Bytef *compressed_data; - char *ldata, *fname; +#ifdef fmemopen_alternative + char *fname; +#endif + char *ldata; FILE *lfi; int list_ctr = 0; Uint32 pix;