sniper Sun Dec 18 22:59:39 2005 EDT
Modified files:
/php-src/ext/xmlrpc/libxmlrpc xmlrpc_introspection.c
Log:
- Fixed bug #35723 (xmlrpc_introspection.c fails compile per C99 std)
http://cvs.php.net/viewcvs.cgi/php-src/ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c?r1=1.4&r2=1.5&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.5
--- 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:39 2005
@@ -36,6 +36,9 @@
* Dan Libby, aka danda ([EMAIL PROTECTED])
* HISTORY
* $Log: xmlrpc_introspection.c,v $
+ * Revision 1.5 2005/12/18 22:59:39 sniper
+ * - 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