summaryrefslogtreecommitdiff
path: root/ext/xmlrpc
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-03-23 21:30:22 +0100
committerAnatol Belski <ab@php.net>2015-03-23 21:30:22 +0100
commit663074b6b1fa4534fbbb65462aeef40f2c983ad5 (patch)
treeeea8e6fa4c9aa305c12548dfda6d8f36f5c2957f /ext/xmlrpc
parent19360f386ec3e78f7f57f9e943569410dc2f718f (diff)
downloadphp-git-663074b6b1fa4534fbbb65462aeef40f2c983ad5.tar.gz
cleanup mod version macros and mod defs, round x
Diffstat (limited to 'ext/xmlrpc')
-rw-r--r--ext/xmlrpc/php_xmlrpc.h3
-rw-r--r--ext/xmlrpc/xmlrpc-epi-php.c6
2 files changed, 5 insertions, 4 deletions
diff --git a/ext/xmlrpc/php_xmlrpc.h b/ext/xmlrpc/php_xmlrpc.h
index e153cc57d7..2adfb71346 100644
--- a/ext/xmlrpc/php_xmlrpc.h
+++ b/ext/xmlrpc/php_xmlrpc.h
@@ -61,6 +61,9 @@
extern zend_module_entry xmlrpc_module_entry;
#define phpext_xmlrpc_ptr &xmlrpc_module_entry
+#include "php_version.h"
+#define PHP_XMLRPC_VERSION PHP_VERSION
+
PHP_MINIT_FUNCTION(xmlrpc);
PHP_MINFO_FUNCTION(xmlrpc);
diff --git a/ext/xmlrpc/xmlrpc-epi-php.c b/ext/xmlrpc/xmlrpc-epi-php.c
index 228cbc4c03..1d3de75d6d 100644
--- a/ext/xmlrpc/xmlrpc-epi-php.c
+++ b/ext/xmlrpc/xmlrpc-epi-php.c
@@ -73,8 +73,6 @@
#include "php_xmlrpc.h"
#include "xmlrpc.h"
-#define PHP_EXT_VERSION "0.51"
-
static int le_xmlrpc_server;
/* {{{ arginfo */
@@ -170,7 +168,7 @@ zend_module_entry xmlrpc_module_entry = {
NULL,
NULL,
PHP_MINFO(xmlrpc),
- PHP_EXT_VERSION,
+ PHP_XMLRPC_VERSION,
STANDARD_MODULE_PROPERTIES
};
@@ -300,7 +298,7 @@ PHP_MINFO_FUNCTION(xmlrpc)
{
php_info_print_table_start();
php_info_print_table_row(2, "core library version", XMLRPC_GetVersionString());
- php_info_print_table_row(2, "php extension version", PHP_EXT_VERSION);
+ php_info_print_table_row(2, "php extension version", PHP_XMLRPC_VERSION);
php_info_print_table_row(2, "author", "Dan Libby");
php_info_print_table_row(2, "homepage", "http://xmlrpc-epi.sourceforge.net");
php_info_print_table_row(2, "open sourced by", "Epinions.com");