Rename C++ header files to .hpp
[lttng-tools.git] / tests / regression / tools / notification / consumer_testpoints.cpp
index 07c855c9c4130f503d51949ab86815bfab89e313..9f2314acb8d3f82807ecbd95db581827a601261a 100644 (file)
@@ -5,10 +5,10 @@
  *
  */
 
-#include <common/compat/getenv.h>
-#include <common/consumer/consumer.h>
-#include <common/pipe.h>
-#include <common/error.h>
+#include <common/compat/getenv.hpp>
+#include <common/consumer/consumer.hpp>
+#include <common/pipe.hpp>
+#include <common/error.hpp>
 #include <unistd.h>
 #include <stdbool.h>
 #include <lttng/constant.h>
@@ -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;
This page took 0.031134 seconds and 4 git commands to generate.