summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-08-29 00:53:46 +0000
committerfoobar <sniper@php.net>2003-08-29 00:53:46 +0000
commit192666b1840b05d2f154ef42923bab8cbf2d0207 (patch)
tree71ab800f346ee86ce39c472a87c6dab6904c484f /ext
parenta92363f6946890a451bbe09ea347685639763140 (diff)
downloadphp-git-192666b1840b05d2f154ef42923bab8cbf2d0207.tar.gz
MFB
Diffstat (limited to 'ext')
-rw-r--r--ext/mcve/mcve.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mcve/mcve.c b/ext/mcve/mcve.c
index ab62ec4829..cc7197ad6a 100644
--- a/ext/mcve/mcve.c
+++ b/ext/mcve/mcve.c
@@ -23,10 +23,11 @@
#include "config.h"
#endif
-#ifdef HAVE_MCVE
+#include "php.h"
+
+#if HAVE_MCVE
/* standard php include(s) */
-#include "php.h"
#include "ext/standard/head.h"
#include "ext/standard/php_standard.h"
#include "ext/standard/info.h"
@@ -45,7 +46,6 @@ static int mcve_init; /* For Safe Memory Deallocation */
/* }}} */
/* {{{ extension definition structures */
-static unsigned char second_args_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE };
function_entry mcve_functions[] = {
PHP_FE(mcve_initengine, NULL)
PHP_FE(mcve_initconn, NULL)
@@ -82,7 +82,7 @@ function_entry mcve_functions[] = {
PHP_FE(mcve_monitor, NULL)
PHP_FE(mcve_transinqueue, NULL)
PHP_FE(mcve_checkstatus, NULL)
- PHP_FE(mcve_completeauthorizations, second_args_force_ref)
+ PHP_FE(mcve_completeauthorizations, second_arg_force_ref)
PHP_FE(mcve_sale, NULL)
PHP_FE(mcve_preauth, NULL)
PHP_FE(mcve_void, NULL)