diff options
Diffstat (limited to 'net/xmlrpc-c-devel/files/patch-src::xmlrpc.h')
-rw-r--r-- | net/xmlrpc-c-devel/files/patch-src::xmlrpc.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/net/xmlrpc-c-devel/files/patch-src::xmlrpc.h b/net/xmlrpc-c-devel/files/patch-src::xmlrpc.h deleted file mode 100644 index d486bcb288f8..000000000000 --- a/net/xmlrpc-c-devel/files/patch-src::xmlrpc.h +++ /dev/null @@ -1,38 +0,0 @@ ---- src/xmlrpc.h.orig Thu Jun 28 01:35:01 2001 -+++ src/xmlrpc.h Tue Mar 2 23:39:39 2004 -@@ -152,7 +152,7 @@ - - /* The same as the above, but using a printf-style format string. */ - void xmlrpc_env_set_fault_formatted (xmlrpc_env* env, int code, -- char *format, ...); -+ const char *format, ...); - - /* A simple debugging assertion. */ - #define XMLRPC_ASSERT_ENV_OK(env) \ -@@ -362,17 +362,23 @@ - ** Increments the reference counts of input arguments if necessary. - ** See the xmlrpc-c documentation for more information. */ - extern xmlrpc_value * --xmlrpc_build_value (xmlrpc_env* env, char* format, ...); -+xmlrpc_build_value (xmlrpc_env* env, const char* format, ...); - - /* The same as the above, but using a va_list. */ - extern xmlrpc_value * --xmlrpc_build_value_va (xmlrpc_env* env, char* format, va_list args); -+xmlrpc_build_value_va (xmlrpc_env* env, const char* format, va_list args); - - /* Extract values from an xmlrpc_value and store them into C variables. - ** Does not increment the reference counts of output values. - ** See the xmlrpc-c documentation for more information. */ - extern void --xmlrpc_parse_value (xmlrpc_env* env, xmlrpc_value* value, char* format, ...); -+xmlrpc_parse_value (xmlrpc_env* env, xmlrpc_value* value, -+ const char* format, ...); -+ -+/* The same as the above, but using a va_list. */ -+extern void -+xmlrpc_parse_value_va (xmlrpc_env* env, xmlrpc_value* value, -+ const char* format, va_list args); - - /* Return the number of elements in an XML-RPC array. - ** Sets XMLRPC_TYPE_ERROR if 'array' is not an array. */ |