X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Fconsumer_testpoints.cpp;fp=tests%2Fregression%2Ftools%2Fnotification%2Fconsumer_testpoints.cpp;h=05db3421a132fd878c58aa8f0c323d6fa35e6d1e;hp=07c855c9c4130f503d51949ab86815bfab89e313;hb=729c1fec5976af17fded2f026725a08ef1924290;hpb=488dbb6062973d4990a33284e4717d89a893339d diff --git a/tests/regression/tools/notification/consumer_testpoints.cpp b/tests/regression/tools/notification/consumer_testpoints.cpp index 07c855c9c..05db3421a 100644 --- a/tests/regression/tools/notification/consumer_testpoints.cpp +++ b/tests/regression/tools/notification/consumer_testpoints.cpp @@ -20,7 +20,8 @@ static char *pause_pipe_path; static struct lttng_pipe *pause_pipe; static int *data_consumption_state; -static enum lttng_consumer_type (*lttng_consumer_get_type)(void); +using lttng_consumer_get_type_func = enum lttng_consumer_type (*)(); +static lttng_consumer_get_type_func lttng_consumer_get_type; int lttng_opt_verbose; int lttng_opt_mi;