From: Simon Marchi Date: Mon, 25 Nov 2019 20:39:22 +0000 (-0500) Subject: Include cmd-2-2.h in cmd-2-1.h X-Git-Tag: v2.13.0-rc1~735 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=897c9a64fafa0535f09d01234507a817e157590d;p=lttng-tools.git Include cmd-2-2.h in cmd-2-1.h Fixes: CC cmd-2-2.o /home/smarchi/src/lttng-tools/src/bin/lttng-relayd/cmd-2-2.c:36:5: error: no previous declaration for ‘cmd_recv_stream_2_2’ [-Werror=missing-declarations] int cmd_recv_stream_2_2(const struct lttng_buffer_view *payload, ^~~~~~~~~~~~~~~~~~~ ... and helps ensure that the declarations are in sync with the definitions. Signed-off-by: Simon Marchi Change-Id: I889d7306c157b0d68d24bf610fce18c8949422d8 Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-relayd/cmd-2-2.c b/src/bin/lttng-relayd/cmd-2-2.c index 09014be0f..c2bc1a3a3 100644 --- a/src/bin/lttng-relayd/cmd-2-2.c +++ b/src/bin/lttng-relayd/cmd-2-2.c @@ -17,6 +17,7 @@ #include #include +#include "cmd-2-2.h" #include "cmd-2-1.h" #include "utils.h"