Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
fix compile for php8
Browse files Browse the repository at this point in the history
  • Loading branch information
idr0id committed May 24, 2021
1 parent 639569a commit cf7246a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blackhole.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ static PHP_FUNCTION(blackhole_set_host)
static PHP_FUNCTION(blackhole_get_port)
{
php_error_docref(NULL, E_DEPRECATED, "function is deprecated");
RETURN_LONG(0)
RETURN_LONG(0);
}
/* }}} */

Expand All @@ -294,7 +294,7 @@ static PHP_FUNCTION(blackhole_set_port)
static PHP_FUNCTION(blackhole_get_metric_name)
{
php_error_docref(NULL, E_DEPRECATED, "function is deprecated");
RETURN_EMPTY_STRING()
RETURN_EMPTY_STRING();
}

/* {{{ proto bool blackhole_set_metric_name(string metric_name)
Expand All @@ -310,7 +310,7 @@ static PHP_FUNCTION(blackhole_set_metric_name)
static PHP_FUNCTION(blackhole_get_overall_metric_name)
{
php_error_docref(NULL, E_DEPRECATED, "function is deprecated");
RETURN_EMPTY_STRING()
RETURN_EMPTY_STRING();
}

/* {{{ proto bool blackhole_set_overall_metric_name(string metric_name)
Expand Down

0 comments on commit cf7246a

Please sign in to comment.