update Thu Feb 11 18:37:00 PST 2010
[pkgsrc.git] / print / ja-vflib-lib / patches / patch-ai
1 $NetBSD: patch-ai,v 1.1 2006/02/24 21:01:23 minskim Exp $
2
3 --- src/VF_FNTWV.c.orig 1998-07-09 02:33:43.000000000 -0700
4 +++ src/VF_FNTWV.c
5 @@ -176,6 +176,7 @@ Private int    read_word();
6  Private long   read_long();
7  
8  
9 +Private int  ReadCapa();
10  
11  Public FontObj*
12  CreateFont_FontWave(ent)
13 @@ -183,7 +184,6 @@ CreateFont_FontWave(ent)
14  {
15    Font     *font;
16    FontObj  *fobj;
17 -  Private int  ReadCapa();
18  
19    if ((font = (Font*) malloc(sizeof(Font))) == NULL){
20      printf("in CreateFont malloc() Error!\n");
21 @@ -217,22 +217,22 @@ CreateFont_FontWave(ent)
22  }
23         
24  
25 +Private int   FNTWVOpenFont();
26 +
27  Private int
28  OpenFont(obj)
29    FontObj *obj;
30  {
31 -  Private int   FNTWVOpenFont();
32 -
33    return FNTWVOpenFont((Font*) obj->Locals);
34  }
35  
36  
37 +Private int   FNTWVCloseFont();
38 +
39  Private int
40  CloseFont(obj)
41    FontObj  *obj;
42  {
43 -  Private int   FNTWVCloseFont();
44 -
45    return FNTWVCloseFont((Font*) obj->Locals);
46  }
47