summaryrefslogtreecommitdiff
path: root/sapi/embed
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2013-12-18 09:06:39 +0100
committerKalle Sommer Nielsen <kalle@php.net>2013-12-18 09:06:39 +0100
commited5a8d510f6e4ae865008fe711efbbc5452adf42 (patch)
treeee91470302effff16eae78220f55c8b16e8a4464 /sapi/embed
parentf70f89c1b1e0bbd2b2b6940bb0a4e12a2be07770 (diff)
downloadphp-git-ed5a8d510f6e4ae865008fe711efbbc5452adf42.tar.gz
Pass the TSRMLS parameters to the sapi flush hook, this shaves off a few TSRMLS_FETCH() calls in our various SAPIs
Diffstat (limited to 'sapi/embed')
-rw-r--r--sapi/embed/php_embed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/embed/php_embed.c b/sapi/embed/php_embed.c
index 414b4dbb02..66961ec6ef 100644
--- a/sapi/embed/php_embed.c
+++ b/sapi/embed/php_embed.c
@@ -79,7 +79,7 @@ static int php_embed_ub_write(const char *str, uint str_length TSRMLS_DC)
return str_length;
}
-static void php_embed_flush(void *server_context)
+static void php_embed_flush(void *server_context TSRMLS_DC)
{
if (fflush(stdout)==EOF) {
php_handle_aborted_connection();