summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/libgd/gd.c')
-rw-r--r--ext/gd/libgd/gd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c
index 54890bc177..59fcd3533a 100644
--- a/ext/gd/libgd/gd.c
+++ b/ext/gd/libgd/gd.c
@@ -102,10 +102,9 @@ void php_gd_error_ex(int type, const char *format, ...)
{
va_list args;
- TSRMLS_FETCH();
va_start(args, format);
- php_verror(NULL, "", type, format, args TSRMLS_CC);
+ php_verror(NULL, "", type, format, args);
va_end(args);
}
@@ -113,10 +112,9 @@ void php_gd_error(const char *format, ...)
{
va_list args;
- TSRMLS_FETCH();
va_start(args, format);
- php_verror(NULL, "", E_WARNING, format, args TSRMLS_CC);
+ php_verror(NULL, "", E_WARNING, format, args);
va_end(args);
}