summaryrefslogtreecommitdiff
path: root/ext/sybase_ct/php_sybase_ct.c
diff options
context:
space:
mode:
authorJoey Smith <joey@php.net>2000-09-10 05:13:56 +0000
committerJoey Smith <joey@php.net>2000-09-10 05:13:56 +0000
commit98cb18a7d742780645155e98aa9e0c16498bc549 (patch)
tree4b0cb264a390a0c90e60d02ffebe035471d26235 /ext/sybase_ct/php_sybase_ct.c
parent2d5316a11cdb352cd23b7abd36876fa43b6fa331 (diff)
downloadphp-git-98cb18a7d742780645155e98aa9e0c16498bc549.tar.gz
Use new Zend API stuff.
Diffstat (limited to 'ext/sybase_ct/php_sybase_ct.c')
-rw-r--r--ext/sybase_ct/php_sybase_ct.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c
index e6ac87d12e..5061267b1f 100644
--- a/ext/sybase_ct/php_sybase_ct.c
+++ b/ext/sybase_ct/php_sybase_ct.c
@@ -71,13 +71,13 @@ zend_module_entry sybase_module_entry = {
"sybase_ct", sybase_functions, PHP_MINIT(sybase), PHP_MSHUTDOWN(sybase), PHP_RINIT(sybase), PHP_RSHUTDOWN(sybase), PHP_MINFO(sybase), STANDARD_MODULE_PROPERTIES
};
+ZEND_DECLARE_MODULE_GLOBALS(sybase)
+static CS_CONTEXT *context;
+
#ifdef COMPILE_DL_SYBASE_CT
ZEND_GET_MODULE(sybase)
#endif
-php_sybase_globals sybase_globals;
-static CS_CONTEXT *context;
-
#define CHECK_LINK(link) { if (link==-1) { php_error(E_WARNING,"Sybase: A link to the server could not be established"); RETURN_FALSE; } }