From: Jérémie Galarneau Date: Fri, 9 Feb 2018 20:07:56 +0000 (-0500) Subject: Remove unneeded forward declaration in condition headers X-Git-Tag: v2.11.0-rc1~324 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=319370bdd77c9e2cee13a1c84fa5200e51cee0fe;p=lttng-tools.git Remove unneeded forward declaration in condition headers Signed-off-by: Jérémie Galarneau --- diff --git a/include/lttng/condition/buffer-usage.h b/include/lttng/condition/buffer-usage.h index 8f1679fc1..3784bc9af 100644 --- a/include/lttng/condition/buffer-usage.h +++ b/include/lttng/condition/buffer-usage.h @@ -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. diff --git a/include/lttng/condition/session-consumed-size.h b/include/lttng/condition/session-consumed-size.h index 4079e8c0b..2aaef565f 100644 --- a/include/lttng/condition/session-consumed-size.h +++ b/include/lttng/condition/session-consumed-size.h @@ -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. diff --git a/src/common/session-consumed-size.c b/src/common/session-consumed-size.c index f2ae65a9e..cc5b790e2 100644 --- a/src/common/session-consumed-size.c +++ b/src/common/session-consumed-size.c @@ -17,6 +17,7 @@ #include #include +#include #include #include #include