[gs-commits] rev 11589 - trunk/gs/base
alexcher at ghostscript.com
alexcher at ghostscript.com
Mon Aug 2 16:45:02 UTC 2010
Author: alexcher
Date: 2010-08-02 16:45:00 +0000 (Mon, 02 Aug 2010)
New Revision: 11589
Modified:
trunk/gs/base/gp_upapr.c
trunk/gs/base/lib.mak
Log:
Fix a compiler warning about a missing prototype for free()
caused by my previous commit.
Modified: trunk/gs/base/gp_upapr.c
===================================================================
--- trunk/gs/base/gp_upapr.c 2010-08-02 13:49:03 UTC (rev 11588)
+++ trunk/gs/base/gp_upapr.c 2010-08-02 16:45:00 UTC (rev 11589)
@@ -19,6 +19,7 @@
#endif
#include "string_.h"
+#include "malloc_.h"
#include "gx.h"
#include "gp.h"
Modified: trunk/gs/base/lib.mak
===================================================================
--- trunk/gs/base/lib.mak 2010-08-02 13:49:03 UTC (rev 11588)
+++ trunk/gs/base/lib.mak 2010-08-02 16:45:00 UTC (rev 11589)
@@ -2866,7 +2866,7 @@
$(GLCC) $(GLO_)gp_paper.$(OBJ) $(C_) $(GLSRC)gp_paper.c
# Unix implementation of gp_defaultpapersize.
-$(GLOBJ)gp_upapr.$(OBJ) : $(GLSRC)gp_upapr.c $(AK) $(gp_h)
+$(GLOBJ)gp_upapr.$(OBJ) : $(GLSRC)gp_upapr.c $(malloc__h) $(AK) $(gp_h)
$(GLCC) $(GLO_)gp_upapr.$(OBJ) $(C_) $(GLSRC)gp_upapr.c
# File system implementation.
More information about the gs-commits
mailing list