*** compface/compface.c Thu Feb 21 16:42:54 2002 --- /home/lkoeller/tmp/ports/mail/faces/work/faces/compface/compface.c Wed Jun 19 08:29:12 1991 *************** *** 1,10 **** - /* - * $Header: /cvs/faces/faces/compface/compface.c,v 1.3 2002/02/21 15:42:54 devface Exp $ - * * Compface - 48x48x1 image compression and decompression * ! * Copyright (c) 1990-2002 James Ashton - Sydney University * * Permission is given to distribute these sources, as long as the * copyright messages are not removed, and no monies are exchanged. --- 1,9 ---- /* * Compface - 48x48x1 image compression and decompression * ! * Copyright (c) James Ashton - Sydney University - June 1990. ! * ! * Written 11th November 1989. * * Permission is given to distribute these sources, as long as the * copyright messages are not removed, and no monies are exchanged. *************** *** 14,29 **** * to me, then an attempt will be made to fix them. */ #include "compface.h" - #include "vars.h" int ! compface(char *fbuf) { ! if (!(status = setjmp(comp_env))) { ReadFace(fbuf); GenFace(); CompAll(fbuf); } ! return(status); } --- 13,31 ---- * to me, then an attempt will be made to fix them. */ + #define MAIN + #include "compface.h" int ! compface(fbuf) ! char *fbuf; { ! if (!(status = setjmp(comp_env))) ! { ReadFace(fbuf); GenFace(); CompAll(fbuf); } ! return status; }