sniper          Sun Dec 18 22:59:57 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /php-src    NEWS 
    /php-src/ext/xmlrpc/libxmlrpc       xmlrpc_introspection.c 
  Log:
  MFH: - Fixed bug #35723 (xmlrpc_introspection.c fails compile per C99 std)
  
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.302&r2=1.2027.2.303&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.302 php-src/NEWS:1.2027.2.303
--- php-src/NEWS:1.2027.2.302   Sun Dec 18 00:07:40 2005
+++ php-src/NEWS        Sun Dec 18 22:59:57 2005
@@ -30,6 +30,7 @@
 - Fixed many bugs in OCI8. (Tony)
 - Fixed crash and leak in mysqli when using 4.1.x client libraries and
   connecting to 5.x server. (Andrey)
+- Fixed bug #35723 (xmlrpc_introspection.c fails compile per C99 std). (Jani)
 - Fixed bug #35720 (A final constructor can be overwritten). (Marcus)
 - Fixed bug #35713 (getopt() returns array with numeric strings when passed 
   options like '-1'). (Tony)
http://cvs.php.net/viewcvs.cgi/php-src/ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c?r1=1.4&r2=1.4.4.1&diff_format=u
Index: php-src/ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c
diff -u php-src/ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c:1.4 
php-src/ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c:1.4.4.1
--- php-src/ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c:1.4     Tue Dec 16 
21:00:21 2003
+++ php-src/ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c Sun Dec 18 22:59:57 2005
@@ -36,6 +36,9 @@
  *   Dan Libby, aka danda  ([EMAIL PROTECTED])
  * HISTORY
  *   $Log: xmlrpc_introspection.c,v $
+ *   Revision 1.4.4.1  2005/12/18 22:59:57  sniper
+ *   MFH: - Fixed bug #35723 (xmlrpc_introspection.c fails compile per C99 std)
+ *
  *   Revision 1.4  2003/12/16 21:00:21  sniper
  *   Fix some compile warnings (patch by Joe Orton)
  *
@@ -77,7 +80,7 @@
 /* iterates through a list of structs and finds the one with key "name" 
matching
  * needle.  slow, would benefit from a struct key hash.
  */
-inline XMLRPC_VALUE find_named_value(XMLRPC_VALUE list, const char* needle) {
+static inline XMLRPC_VALUE find_named_value(XMLRPC_VALUE list, const char* 
needle) {
    XMLRPC_VALUE xIter = XMLRPC_VectorRewind(list);
    while(xIter) {
       const char* name = XMLRPC_VectorGetStringWithID(xIter, xi_token_name);
@@ -107,7 +110,7 @@
 
 
 /* utility function for xi_system_describe_methods_cb */
-inline void describe_method(XMLRPC_SERVER server, XMLRPC_VALUE vector, const 
char* method) {
+static inline void describe_method(XMLRPC_SERVER server, XMLRPC_VALUE vector, 
const char* method) {
    if(method) {
       server_method* sm = find_method(server, method);
       if(sm) {

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

Reply via email to