diff -rc orig/gif2png/gif2png.c gif2png/gif2png.c *** orig/gif2png/gif2png.c Fri Nov 03 17:52:44 1995 --- gif2png/gif2png.c Wed Dec 20 22:28:06 1995 *************** *** 10,15 **** --- 10,20 ---- #define PNG_INTERNAL #include "gif2png.h" + #ifdef AMIGA + /* declare isatty() */ + #include + #endif + struct GIFelement first={NULL}; struct GIFelement *current; int delete; diff -rc orig/gif2png/gifread.c gif2png/gifread.c *** orig/gif2png/gifread.c Fri Nov 03 17:53:34 1995 --- gif2png/gifread.c Wed Dec 20 23:04:01 1995 *************** *** 434,443 **** /* ** Out of nextLWZ */ ! static int stack[(1<<(MAX_LWZ_BITS))*2], *sp; ! static int code_size, set_code_size; ! static int max_code, max_code_size; ! static int clear_code, end_code; static void initLWZ(int input_code_size) { --- 434,443 ---- /* ** Out of nextLWZ */ ! static short stack[(1<<(MAX_LWZ_BITS))*2], *sp; ! static short code_size, set_code_size; ! static short max_code, max_code_size; ! static short clear_code, end_code; static void initLWZ(int input_code_size) { *************** *** 460,472 **** static int nextCode(FILE *fd, int code_size) { static unsigned char buf[280]; ! static int maskTbl[16] = { 0x0000, 0x0001, 0x0003, 0x0007, 0x000f, 0x001f, 0x003f, 0x007f, 0x00ff, 0x01ff, 0x03ff, 0x07ff, 0x0fff, 0x1fff, 0x3fff, 0x7fff, }; ! int i, j, end; long ret; if (return_clear) { --- 460,472 ---- static int nextCode(FILE *fd, int code_size) { static unsigned char buf[280]; ! static short maskTbl[16] = { 0x0000, 0x0001, 0x0003, 0x0007, 0x000f, 0x001f, 0x003f, 0x007f, 0x00ff, 0x01ff, 0x03ff, 0x07ff, 0x0fff, 0x1fff, 0x3fff, 0x7fff, }; ! short i, j, end; long ret; if (return_clear) { *************** *** 519,530 **** #define readLWZ(fd) ((sp > stack) ? *--sp : nextLWZ(fd)) ! static int nextLWZ(FILE *fd) { ! static int table[2][(1<< MAX_LWZ_BITS)]; ! static int firstcode, oldcode; ! int code, incode; ! register int i; while ((code = nextCode(fd, code_size)) >= 0) { if (code == clear_code) { --- 519,530 ---- #define readLWZ(fd) ((sp > stack) ? *--sp : nextLWZ(fd)) ! static short nextLWZ(FILE *fd) { ! static short table[2][(1<< MAX_LWZ_BITS)]; ! static short firstcode, oldcode; ! short code, incode; ! register short i; while ((code = nextCode(fd, code_size)) >= 0) { if (code == clear_code) { *************** *** 635,642 **** return res; } ! static int ! ReadImage(FILE *fd, int x_off, int y_off, int width, int height, int cmapSize, GifColor cmap[MAXCMSIZE], int interlace) { unsigned char *dp, c; --- 635,641 ---- return res; } ! static int ReadImage(FILE *fd, int x_off, int y_off, int width, int height, int cmapSize, GifColor cmap[MAXCMSIZE], int interlace) { unsigned char *dp, c; Only in gif2png/libpng: smakefile Only in gif2png/libpng: smakefile.030 Only in gif2png: smakefile Only in gif2png: smakefile.030 diff -rc orig/gif2png/zlib/gzio.c gif2png/zlib/gzio.c *** orig/gif2png/zlib/gzio.c Sun Aug 13 11:48:12 1995 --- gif2png/zlib/gzio.c Thu Dec 21 01:05:25 1995 *************** *** 6,11 **** --- 6,14 ---- /* $Id: gzio.c,v 1.8 1995/05/03 17:27:09 jloup Exp $ */ #include + #ifdef __STDC__ + #include + #endif #include "zutil.h" Only in gif2png/zlib: smakefile Only in gif2png/zlib: smakefile.030