freebsd-ports/japanese/vflib/files/patch-VF_FNTWV.c
Pav Lucistnik 9d03915068 - Fix build with gcc42
PR:		ports/113318
Submitted by:	NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
Approved by:	maintainer timeout (mita; 1 month)
2007-07-14 14:21:56 +00:00

42 lines
755 B
C

--- src/VF_FNTWV.c.orig Wed May 30 13:03:47 2001
+++ src/VF_FNTWV.c Mon Jun 4 16:11:58 2007
@@ -177,13 +177,13 @@
+Private int ReadCapa();
Public FontObj*
CreateFont_FontWave(ent)
char *ent;
{
Font *font;
FontObj *fobj;
- Private int ReadCapa();
if ((font = (Font*) malloc(sizeof(Font))) == NULL){
printf("in CreateFont malloc() Error!\n");
@@ -217,22 +217,20 @@
}
+Private int FNTWVOpenFont();
Private int
OpenFont(obj)
FontObj *obj;
{
- Private int FNTWVOpenFont();
-
return FNTWVOpenFont((Font*) obj->Locals);
}
+Private int FNTWVCloseFont();
Private int
CloseFont(obj)
FontObj *obj;
{
- Private int FNTWVCloseFont();
-
return FNTWVCloseFont((Font*) obj->Locals);
}