summaryrefslogtreecommitdiff
path: root/ext/mssql/php_mssql.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-02 00:30:36 +0000
committerSascha Schumann <sas@php.net>2000-05-02 00:30:36 +0000
commit0d383d9373e6764d4f36cfce41cb8a610766e9b6 (patch)
tree33cca1f21bbab03d58f7ec5be46b4e152bd6f956 /ext/mssql/php_mssql.c
parent95310ad5e0e5094f72e188c8f2fc8d446ee3921c (diff)
downloadphp-git-0d383d9373e6764d4f36cfce41cb8a610766e9b6.tar.gz
Replace the various get_module() functions with a uniform
ZEND_GET_MODULE(name) macro.
Diffstat (limited to 'ext/mssql/php_mssql.c')
-rw-r--r--ext/mssql/php_mssql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c
index 7bef9ba028..72c2d7fd40 100644
--- a/ext/mssql/php_mssql.c
+++ b/ext/mssql/php_mssql.c
@@ -81,7 +81,7 @@ PHP_MSSQL_API php_mssql_globals mssql_globals;
#endif
#ifdef COMPILE_DL
-DLEXPORT zend_module_entry *get_module(void) { return &mssql_module_entry; };
+ZEND_GET_MODULE(mssql)
#endif
#define CHECK_LINK(link) { if (link==-1) { php_error(E_WARNING,"MS SQL: A link to the server could not be established"); RETURN_FALSE; } }