Skip to content

Commit 5a7642d

Browse files
committed
second shot on removing TSRMLS_*
1 parent 78ffe57 commit 5a7642d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ibase_query.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ PHP_FUNCTION(ibase_query)
11071107

11081108
if (PG(sql_safe_mode)) {
11091109
_php_ibase_module_error("CREATE DATABASE is not allowed in SQL safe mode"
1110-
TSRMLS_CC);
1110+
);
11111111

11121112
} else if (((l = INI_INT("ibase.max_links")) != -1) && (IBG(num_links) >= l)) {
11131113
_php_ibase_module_error("CREATE DATABASE is not allowed: maximum link count "
@@ -1572,7 +1572,7 @@ static void _php_ibase_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int fetch_type)
15721572
item == isc_info_error || i >= sizeof(bl_info)) {
15731573

15741574
_php_ibase_module_error("Could not determine BLOB size (internal error)"
1575-
TSRMLS_CC);
1575+
);
15761576
goto _php_ibase_fetch_error;
15771577
}
15781578

interbase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ void _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAMETERS, /* {{{ */
560560
ZEND_FETCH_RESOURCE(*trans, ibase_trans *, link_id, -1, LE_TRANS, le_trans);
561561
if ((*trans)->link_cnt > 1) {
562562
_php_ibase_module_error("Link id is ambiguous: transaction spans multiple connections."
563-
TSRMLS_CC);
563+
);
564564
return;
565565
}
566566
*ib_link = (*trans)->db_link[0];

php_ibase_udf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ pthread_mutex_t mtx_res = PTHREAD_MUTEX_INITIALIZER;
127127

128128
static void __attribute__((constructor)) init()
129129
{
130-
php_embed_init(0, NULL PTSRMLS_CC);
130+
php_embed_init(0, NULL P);
131131
}
132132

133133
static void __attribute__((destructor)) fini()

0 commit comments

Comments
 (0)