From: Jérémie Galarneau Date: Fri, 7 Oct 2016 20:39:46 +0000 (-0400) Subject: Warning fix: forward declare struct lttng_ust_calibrate X-Git-Tag: v2.9.0-rc1~3 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=b4a8eff7e0e7d6dec17e32a9695432e851a628ce Warning fix: forward declare struct lttng_ust_calibrate lttng-ust's ust-ctl.h still refers to struct lttng_ust_calibrate which causes gcc to emit a "‘struct lttng_ust_calibrate’ is declared inside a parameter list" warning. Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/lttng-ust-abi.h b/src/bin/lttng-sessiond/lttng-ust-abi.h index fb9c5a336..7a5062da7 100644 --- a/src/bin/lttng-sessiond/lttng-ust-abi.h +++ b/src/bin/lttng-sessiond/lttng-ust-abi.h @@ -47,6 +47,8 @@ #define LTTNG_UST_ABI_MAJOR_VERSION 7 #define LTTNG_UST_ABI_MINOR_VERSION 1 +struct lttng_ust_calibrate; + enum lttng_ust_instrumentation { LTTNG_UST_TRACEPOINT = 0, LTTNG_UST_PROBE = 1,