[gs-cvs] rev 8713 - trunk/gs/src

ray at ghostscript.com ray at ghostscript.com
Thu May 8 11:40:32 PDT 2008


Author: ray
Date: 2008-05-08 11:40:31 -0700 (Thu, 08 May 2008)
New Revision: 8713

Modified:
   trunk/gs/src/int.mak
   trunk/gs/src/zchar42.c
Log:
Fix compiler warning due to missing prototype for strncmp.


Modified: trunk/gs/src/int.mak
===================================================================
--- trunk/gs/src/int.mak	2008-05-07 21:07:53 UTC (rev 8712)
+++ trunk/gs/src/int.mak	2008-05-08 18:40:31 UTC (rev 8713)
@@ -822,7 +822,7 @@
  $(gxfixed_h) $(gxfont_h) $(gxfont42_h)\
  $(gxistate_h) $(gxpath_h) $(gxtext_h) $(gzstate_h)\
  $(dstack_h) $(estack_h) $(ichar_h) $(icharout_h)\
- $(ifont_h) $(igstate_h) $(store_h) $(zchar42_h)
+ $(ifont_h) $(igstate_h) $(store_h) $(string_h) $(zchar42_h)
 	$(PSCC) $(PSO_)zchar42.$(OBJ) $(C_) $(PSSRC)zchar42.c
 
 $(PSOBJ)zfont42.$(OBJ) : $(PSSRC)zfont42.c $(OP) $(memory__h)\

Modified: trunk/gs/src/zchar42.c
===================================================================
--- trunk/gs/src/zchar42.c	2008-05-07 21:07:53 UTC (rev 8712)
+++ trunk/gs/src/zchar42.c	2008-05-08 18:40:31 UTC (rev 8713)
@@ -33,6 +33,7 @@
 #include "igstate.h"
 #include "iname.h"
 #include "store.h"
+#include "string_.h"
 #include "zchar42.h"
 
 /* Get a Type 42 character metrics and set the cache device. */



More information about the gs-cvs mailing list