Remove unneeded forward declaration in condition headers
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 9 Feb 2018 20:07:56 +0000 (15:07 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Apr 2018 16:12:29 +0000 (12:12 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/condition/buffer-usage.h
include/lttng/condition/session-consumed-size.h
src/common/session-consumed-size.c

index 8f1679fc1a14a60552cb656e605425d17e8789cf..3784bc9af03bedecc46991fff4e80d41a7da22e7 100644 (file)
@@ -27,9 +27,6 @@
 extern "C" {
 #endif
 
-struct lttng_condition;
-struct lttng_evaluation;
-
 /**
  * Buffer usage conditions allows an action to be taken whenever a channel's
  * buffer usage crosses a set threshold.
index 4079e8c0b8459baa8d9f8ba32bd1073c8514966f..2aaef565f7d0717fbd8482aee581369f19c6edc8 100644 (file)
@@ -27,9 +27,6 @@
 extern "C" {
 #endif
 
-struct lttng_condition;
-struct lttng_evaluation;
-
 /**
  * Session consumed size conditions allow an action to be taken whenever a
  * session's produced data size crosses a set threshold.
index f2ae65a9e22cb2963db00c97cf58dcaa2cb47f07..cc5b790e23a4c18d5b6e419020ae1a79ed9e4786 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <lttng/condition/condition-internal.h>
 #include <lttng/condition/session-consumed-size-internal.h>
+#include <lttng/constant.h>
 #include <common/macros.h>
 #include <common/error.h>
 #include <assert.h>
This page took 0.026092 seconds and 4 git commands to generate.