diff options
Diffstat (limited to 'ext/pgsql')
-rw-r--r-- | ext/pgsql/pgsql.c | 4 | ||||
-rw-r--r-- | ext/pgsql/php_pgsql.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index f2698281e6..ef5e864b40 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -74,12 +74,12 @@ function_entry pgsql_functions[] = { {NULL, NULL, NULL} }; -php3_module_entry pgsql_module_entry = { +zend_module_entry pgsql_module_entry = { "PostgreSQL", pgsql_functions, php3_minit_pgsql, NULL, php3_rinit_pgsql, NULL, NULL, STANDARD_MODULE_PROPERTIES }; #if COMPILE_DL -PHP_PGSQL_API php3_module_entry *get_module() { return &pgsql_module_entry; } +PHP_PGSQL_API zend_module_entry *get_module() { return &pgsql_module_entry; } #endif static int le_link,le_plink,le_result,le_lofp,le_string; diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h index 0397ab9a9e..71fdd628cf 100644 --- a/ext/pgsql/php_pgsql.h +++ b/ext/pgsql/php_pgsql.h @@ -39,7 +39,7 @@ #if HAVE_PGSQL -extern php3_module_entry pgsql_module_entry; +extern zend_module_entry pgsql_module_entry; #define pgsql_module_ptr &pgsql_module_entry |