aboutsummaryrefslogtreecommitdiffstats
path: root/mail/faces/files/patch-cd
blob: 4368a7991e88089cc83124f1b9690ddafb8eb833 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
*** 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;
  }