cvs: php4 /ext/gd gd.c php_gd.h
| From: | Jani Taskinen | Date: | Wed, 22 Aug 2001 08:32:23 +0000 |
| Subject: | cvs: php4 /ext/gd gd.c php_gd.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7017@lists.php.net to get a copy of this message | ||
sniper Wed Aug 22 04:32:23 2001 EDT
Modified files:
/php4/ext/gd gd.c php_gd.h
Log:
Killed a compile warning.
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.154 php4/ext/gd/gd.c:1.155
--- php4/ext/gd/gd.c:1.154 Mon Aug 13 03:55:32 2001
+++ php4/ext/gd/gd.c Wed Aug 22 04:32:22 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.154 2001/08/13 07:55:32 rasmus Exp $ */
+/* $Id: gd.c,v 1.155 2001/08/22 08:32:22 sniper Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -2257,7 +2257,7 @@
/* {{{ php_gdimagecharup
* workaround for a bug in gd 1.2 */
-void php_gdimagecharup(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color)
+static void php_gdimagecharup(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color)
{
int cx, cy, px, py, fline;
cx = 0;
Index: php4/ext/gd/php_gd.h
diff -u php4/ext/gd/php_gd.h:1.35 php4/ext/gd/php_gd.h:1.36
--- php4/ext/gd/php_gd.h:1.35 Tue Aug 7 12:35:35 2001
+++ php4/ext/gd/php_gd.h Wed Aug 22 04:32:22 2001
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_gd.h,v 1.35 2001/08/07 16:35:35 sniper Exp $ */
+/* $Id: php_gd.h,v 1.36 2001/08/22 08:32:22 sniper Exp $ */
#ifndef PHP_GD_H
#define PHP_GD_H
@@ -146,7 +146,6 @@
PHP_FUNCTION(imagestringup);
PHP_FUNCTION(imagesx);
PHP_FUNCTION(imagesy);
-static void php_gdimagecharup(gdImagePtr, gdFontPtr, int, int, int, int);
PHP_FUNCTION(imagedashedline);
PHP_FUNCTION(imagettfbbox);
PHP_FUNCTION(imagettftext);