diff options
author | foobar <sniper@php.net> | 2003-06-06 06:17:02 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-06-06 06:17:02 +0000 |
commit | fe054542a3eb0f68af99c787b6cdebd9617af265 (patch) | |
tree | e096c7744e1fd174a59077d84c19a3f06e62edeb /ext/mcve | |
parent | 93640e75e6c31341dd8203ce90e50d9a7fe6c268 (diff) | |
download | php-git-fe054542a3eb0f68af99c787b6cdebd9617af265.tar.gz |
Fixed bug #24051: shared build and test
Diffstat (limited to 'ext/mcve')
-rw-r--r-- | ext/mcve/mcve.c | 6 | ||||
-rw-r--r-- | ext/mcve/php_mcve.h | 4 | ||||
-rw-r--r-- | ext/mcve/tests/001.phpt | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ext/mcve/mcve.c b/ext/mcve/mcve.c index c486cf2009..3b06f16cc6 100644 --- a/ext/mcve/mcve.c +++ b/ext/mcve/mcve.c @@ -39,7 +39,7 @@ static int mcve_init; /* For Safe Memory Deallocation */ /* {{{ extension definition structures */ static unsigned char second_arg_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE }; -function_entry php_mcve_functions[] = { +function_entry mcve_functions[] = { PHP_FE(mcve_initengine, NULL) PHP_FE(mcve_initconn, NULL) PHP_FE(mcve_deleteresponse, NULL) @@ -120,12 +120,12 @@ function_entry php_mcve_functions[] = { { NULL, NULL, NULL } }; -zend_module_entry php_mcve_module_entry = { +zend_module_entry mcve_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif "mcve", /* module name */ - php_mcve_functions, /* struct of functions (see above) */ + mcve_functions, /* struct of functions (see above) */ PHP_MINIT(mcve), /* module initialization functions */ NULL, /* module shutdown functions */ NULL, /* request initialization functions */ diff --git a/ext/mcve/php_mcve.h b/ext/mcve/php_mcve.h index bc4b8bfac2..43183633c4 100644 --- a/ext/mcve/php_mcve.h +++ b/ext/mcve/php_mcve.h @@ -20,9 +20,9 @@ #ifndef _PHP_MCVE_H #define _PHP_MCVE_H -extern zend_module_entry php_mcve_module_entry; +extern zend_module_entry mcve_module_entry; -#define mcve_module_ptr &php_mcve_module_entry +#define mcve_module_ptr &mcve_module_entry #define phpext_mcve_ptr mcve_module_ptr #define PHP_MCVE_VERSION "3.0" diff --git a/ext/mcve/tests/001.phpt b/ext/mcve/tests/001.phpt index c41eaa18ca..ba4b5f13d4 100644 --- a/ext/mcve/tests/001.phpt +++ b/ext/mcve/tests/001.phpt @@ -1,7 +1,7 @@ --TEST-- Check for mcve presence --SKIPIF-- -<?php if (!extension_loaded("MCVE")) print "skip"; ?> +<?php if (!extension_loaded("mcve")) print "skip"; ?> --POST-- --GET-- --FILE-- |