summaryrefslogtreecommitdiff
path: root/ext/odbc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/odbc')
-rw-r--r--ext/odbc/php_odbc.c4
-rw-r--r--ext/odbc/php_odbc.h2
-rw-r--r--ext/odbc/php_velocis.h2
-rw-r--r--ext/odbc/velocis.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index 7327521ee5..fed1ba12ce 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -116,7 +116,7 @@ function_entry odbc_functions[] = {
{ NULL, NULL, NULL }
};
-php3_module_entry odbc_module_entry = {
+zend_module_entry odbc_module_entry = {
"ODBC",
odbc_functions,
PHP_MINIT(odbc),
@@ -279,7 +279,7 @@ static PHP_INI_DISP(display_lrl)
if (atoi(value) <= 0) {
PUTS("Passthru");
} else {
- php3_printf("return up to %s bytes", value);
+ php_printf("return up to %s bytes", value);
}
}
}
diff --git a/ext/odbc/php_odbc.h b/ext/odbc/php_odbc.h
index 897d3d8e43..aa37156321 100644
--- a/ext/odbc/php_odbc.h
+++ b/ext/odbc/php_odbc.h
@@ -147,7 +147,7 @@ PHP_FUNCTION(solid_fetch_prev);
#include <sqlext.h>
#endif
-extern php3_module_entry odbc_module_entry;
+extern zend_module_entry odbc_module_entry;
#define odbc_module_ptr &odbc_module_entry
diff --git a/ext/odbc/php_velocis.h b/ext/odbc/php_velocis.h
index 2b24c5e055..e5f9b1effd 100644
--- a/ext/odbc/php_velocis.h
+++ b/ext/odbc/php_velocis.h
@@ -70,7 +70,7 @@ typedef struct {
int le_link,le_result;
} velocis_module;
-extern php3_module_entry velocis_module_entry;
+extern zend_module_entry velocis_module_entry;
#define velocis_module_ptr &velocis_module_entry
/* velocis.c functions */
diff --git a/ext/odbc/velocis.c b/ext/odbc/velocis.c
index ab31c4d75d..b49fff2f24 100644
--- a/ext/odbc/velocis.c
+++ b/ext/odbc/velocis.c
@@ -59,14 +59,14 @@ function_entry velocis_functions[] = {
{NULL, NULL, NULL}
};
-php3_module_entry velocis_module_entry = {
+zend_module_entry velocis_module_entry = {
"Velocis", velocis_functions, PHP_MINIT(velocis), PHP_MSHUTDOWN(velocis),
PHP_RINIT(velocis), NULL, PHP_MINFO(velocis), STANDARD_MODULE_PROPERTIES
};
#if COMPILE_DL
-php3_module_entry *get_module() { return &velocis_module_entry; }
+zend_module_entry *get_module() { return &velocis_module_entry; }
#endif
THREAD_LS velocis_module php3_velocis_module;