summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-07-23 11:53:58 +0000
committerJani Taskinen <jani@php.net>2007-07-23 11:53:58 +0000
commit5b71d45effbaeba3c132c7025bbfd0c5fae7f638 (patch)
tree657a987d19b96997171c0905a01a68628a53e7d6 /ext
parent0dd60dd1cd92860de2cd3edb07da96ef2806043e (diff)
downloadphp-git-5b71d45effbaeba3c132c7025bbfd0c5fae7f638.tar.gz
MFH: sync
Diffstat (limited to 'ext')
-rwxr-xr-xext/pdo/pdo.c4
-rwxr-xr-xext/pdo/php_pdo_driver.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/pdo/pdo.c b/ext/pdo/pdo.c
index b74e063a84..43652a971e 100755
--- a/ext/pdo/pdo.c
+++ b/ext/pdo/pdo.c
@@ -54,12 +54,12 @@ int php_pdo_list_entry(void)
/* for exceptional circumstances */
zend_class_entry *pdo_exception_ce;
-PDO_API zend_class_entry *php_pdo_get_dbh_ce()
+PDO_API zend_class_entry *php_pdo_get_dbh_ce(void)
{
return pdo_dbh_ce;
}
-PDO_API zend_class_entry *php_pdo_get_exception()
+PDO_API zend_class_entry *php_pdo_get_exception(void)
{
return pdo_exception_ce;
}
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index 77e2eaeb77..c3c98c4301 100755
--- a/ext/pdo/php_pdo_driver.h
+++ b/ext/pdo/php_pdo_driver.h
@@ -646,8 +646,8 @@ PDO_API int php_pdo_parse_data_source(const char *data_source,
unsigned long data_source_len, struct pdo_data_src_parser *parsed,
int nparams);
-PDO_API zend_class_entry *php_pdo_get_dbh_ce();
-PDO_API zend_class_entry *php_pdo_get_exception();
+PDO_API zend_class_entry *php_pdo_get_dbh_ce(void);
+PDO_API zend_class_entry *php_pdo_get_exception(void);
PDO_API int pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len,
char **outquery, int *outquery_len TSRMLS_DC);