nlopess         Fri Sep 15 15:14:04 2006 UTC

  Modified files:              
    /php-src/ext/gd/libgd       gd.h gdfontg.c gdfontl.c gdfontmb.c gdfonts.c 
                                gdfontt.c gdtables.c 
  Log:
  MFB
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd.h?r1=1.28&r2=1.29&diff_format=u
Index: php-src/ext/gd/libgd/gd.h
diff -u php-src/ext/gd/libgd/gd.h:1.28 php-src/ext/gd/libgd/gd.h:1.29
--- php-src/ext/gd/libgd/gd.h:1.28      Thu Feb  2 20:30:54 2006
+++ php-src/ext/gd/libgd/gd.h   Fri Sep 15 15:14:04 2006
@@ -189,7 +189,7 @@
        /* Font data; array of characters, one row after another.
                Easily included in code, also easily loaded from
                data files. */
-       char *data;
+       const char *data;
 } gdFont;
 
 /* Text functions take these. */
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdfontg.c?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gd/libgd/gdfontg.c
diff -u php-src/ext/gd/libgd/gdfontg.c:1.2 php-src/ext/gd/libgd/gdfontg.c:1.3
--- php-src/ext/gd/libgd/gdfontg.c:1.2  Mon Mar 29 18:20:33 2004
+++ php-src/ext/gd/libgd/gdfontg.c      Fri Sep 15 15:14:04 2006
@@ -13,7 +13,7 @@
 
 #include "gdfontg.h"
 
-char gdFontGiantData[] =
+static const char gdFontGiantData[] =
 {
 /* Char 0 */
   0, 0, 0, 0, 0, 0, 0, 0, 0,
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdfontl.c?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gd/libgd/gdfontl.c
diff -u php-src/ext/gd/libgd/gdfontl.c:1.2 php-src/ext/gd/libgd/gdfontl.c:1.3
--- php-src/ext/gd/libgd/gdfontl.c:1.2  Mon Mar 29 18:20:33 2004
+++ php-src/ext/gd/libgd/gdfontl.c      Fri Sep 15 15:14:04 2006
@@ -14,7 +14,7 @@
 
 #include "gdfontl.h"
 
-char gdFontLargeData[] =
+static const char gdFontLargeData[] =
 {
 /* Char 0 */
   0, 0, 0, 0, 0, 0, 0, 0,
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdfontmb.c?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gd/libgd/gdfontmb.c
diff -u php-src/ext/gd/libgd/gdfontmb.c:1.2 php-src/ext/gd/libgd/gdfontmb.c:1.3
--- php-src/ext/gd/libgd/gdfontmb.c:1.2 Mon Mar 29 18:20:33 2004
+++ php-src/ext/gd/libgd/gdfontmb.c     Fri Sep 15 15:14:04 2006
@@ -12,7 +12,7 @@
 
 #include "gdfontmb.h"
 
-char gdFontMediumBoldData[] =
+static const char gdFontMediumBoldData[] =
 {
 /* Char 0 */
   0, 0, 0, 0, 0, 0, 0,
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdfonts.c?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gd/libgd/gdfonts.c
diff -u php-src/ext/gd/libgd/gdfonts.c:1.2 php-src/ext/gd/libgd/gdfonts.c:1.3
--- php-src/ext/gd/libgd/gdfonts.c:1.2  Mon Mar 29 18:20:33 2004
+++ php-src/ext/gd/libgd/gdfonts.c      Fri Sep 15 15:14:04 2006
@@ -12,7 +12,7 @@
 
 #include "gdfonts.h"
 
-char gdFontSmallData[] =
+static const char gdFontSmallData[] =
 {
 /* Char 0 */
   0, 0, 0, 0, 0, 0,
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdfontt.c?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gd/libgd/gdfontt.c
diff -u php-src/ext/gd/libgd/gdfontt.c:1.2 php-src/ext/gd/libgd/gdfontt.c:1.3
--- php-src/ext/gd/libgd/gdfontt.c:1.2  Mon Mar 29 18:20:33 2004
+++ php-src/ext/gd/libgd/gdfontt.c      Fri Sep 15 15:14:04 2006
@@ -13,7 +13,7 @@
 
 #include "gdfontt.h"
 
-char gdFontTinyData[] =
+static const char gdFontTinyData[] =
 {
 /* Char 0 */
   0, 0, 0, 0, 0,
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdtables.c?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gd/libgd/gdtables.c
diff -u php-src/ext/gd/libgd/gdtables.c:1.2 php-src/ext/gd/libgd/gdtables.c:1.3
--- php-src/ext/gd/libgd/gdtables.c:1.2 Tue Aug 31 16:41:29 2004
+++ php-src/ext/gd/libgd/gdtables.c     Fri Sep 15 15:14:04 2006
@@ -1,7 +1,7 @@
 
 #include "php_compat.h"
 
-int gdCosT[] =
+const int gdCosT[] =
 {
   1024,
   1023,
@@ -365,7 +365,7 @@
   1023
 };
 
-int gdSinT[] =
+const int gdSinT[] =
 {
   0,
   17,

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to