com php-src: Add unique prefix to exported function: ext/pdo/pdo_stmt.c ext/pdo/php_pdo_driver.h ext/p do_oci/oci_statement.c
| From: | Christopher Jones | Date: | Sat, 02 May 2015 17:03:30 +0000 |
| Subject: | com php-src: Add unique prefix to exported function: ext/pdo/pdo_stmt.c ext/pdo/php_pdo_driver.h ext/p do_oci/oci_statement.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86576@lists.php.net to get a copy of this message | ||
Commit: 7ba353ef6983a93841de6673320d7d78982007f6
Author: Christopher Jones <sixd@php.net> Sat, 2 May 2015 10:03:30 -0700
Parents: 0a02cdf7753f0acb456b1db119319166bf4b184d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7ba353ef6983a93841de6673320d7d78982007f6
Log:
Add unique prefix to exported function
Changed paths:
M ext/pdo/pdo_stmt.c
M ext/pdo/php_pdo_driver.h
M ext/pdo_oci/oci_statement.c
Diff:
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c
index 8c33b7f..3387da0 100644
--- a/ext/pdo/pdo_stmt.c
+++ b/ext/pdo/pdo_stmt.c
@@ -2298,7 +2298,7 @@ void pdo_stmt_init(void)
pdo_row_ce->serialize = pdo_row_serialize;
}
-PDO_API void free_statement(pdo_stmt_t *stmt)
+PDO_API void php_pdo_free_statement(pdo_stmt_t *stmt)
{
if (stmt->bound_params) {
zend_hash_destroy(stmt->bound_params);
@@ -2353,7 +2353,7 @@ PDO_API void free_statement(pdo_stmt_t *stmt)
void pdo_dbstmt_free_storage(zend_object *std)
{
pdo_stmt_t *stmt = php_pdo_stmt_fetch_object(std);
- free_statement(stmt);
+ php_pdo_free_statement(stmt);
}
zend_object *pdo_dbstmt_new(zend_class_entry *ce)
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index 2181ba9..407d1ba 100644
--- a/ext/pdo/php_pdo_driver.h
+++ b/ext/pdo/php_pdo_driver.h
@@ -687,7 +687,7 @@ PDO_API void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt,
PDO_API void php_pdo_dbh_addref(pdo_dbh_t *dbh);
PDO_API void php_pdo_dbh_delref(pdo_dbh_t *dbh);
-PDO_API void free_statement(pdo_stmt_t *stmt);
+PDO_API void php_pdo_free_statement(pdo_stmt_t *stmt);
#endif /* PHP_PDO_DRIVER_H */
diff --git a/ext/pdo_oci/oci_statement.c b/ext/pdo_oci/oci_statement.c
index b2f8abc..e47fba5 100644
--- a/ext/pdo_oci/oci_statement.c
+++ b/ext/pdo_oci/oci_statement.c
@@ -652,7 +652,7 @@ static int oci_blob_close(php_stream *stream, int close_handle)
efree(self);
}
- free_statement(stmt);
+ php_pdo_free_statement(stmt);
return 0;
}