From 897c9a64fafa0535f09d01234507a817e157590d Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 25 Nov 2019 15:39:22 -0500 Subject: [PATCH] Include cmd-2-2.h in cmd-2-1.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/bin/lttng-relayd/cmd-2-2.c | 1 + 1 file changed, 1 insertion(+) 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" -- 2.34.1