Warning fix: forward declare struct lttng_ust_calibrate
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 7 Oct 2016 20:39:46 +0000 (16:39 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 7 Oct 2016 20:39:46 +0000 (16:39 -0400)
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 <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/lttng-ust-abi.h

index fb9c5a336e71d8a5325d8bb95b135b9960caa7fa..7a5062da7681fb6fec6870a2bbec08596d7f1b68 100644 (file)
@@ -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,
This page took 0.025804 seconds and 4 git commands to generate.