From: Jérémie Galarneau Date: Fri, 1 Jun 2018 09:31:12 +0000 (-0400) Subject: Remove unnecessary inclusions of version.h X-Git-Tag: v2.11.0-rc1~201 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=979d476d33cfaf3b0a19b802f5f64d5c2649f1d7;p=lttng-tools.git Remove unnecessary inclusions of version.h Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/lttng-sessiond.h b/src/bin/lttng-sessiond/lttng-sessiond.h index c3fa0f073..25e410b25 100644 --- a/src/bin/lttng-sessiond/lttng-sessiond.h +++ b/src/bin/lttng-sessiond/lttng-sessiond.h @@ -28,7 +28,6 @@ #include "session.h" #include "ust-app.h" -#include "version.h" #include "notification-thread.h" #include "sessiond-config.h" diff --git a/src/bin/lttng/commands/version.c b/src/bin/lttng/commands/version.c index ae43eaf2e..f0b63a452 100644 --- a/src/bin/lttng/commands/version.c +++ b/src/bin/lttng/commands/version.c @@ -27,6 +27,7 @@ #include #include "../command.h" +#include "version.h" #ifdef LTTNG_EMBED_HELP static const char help_msg[] = diff --git a/src/bin/lttng/lttng.c b/src/bin/lttng/lttng.c index d905af9a6..08eea54a6 100644 --- a/src/bin/lttng/lttng.c +++ b/src/bin/lttng/lttng.c @@ -32,6 +32,7 @@ #include #include "command.h" +#include "version.h" static const char *help_msg = #ifdef LTTNG_EMBED_HELP diff --git a/src/bin/lttng/utils.h b/src/bin/lttng/utils.h index 2d20e2bfe..4de7f0fe3 100644 --- a/src/bin/lttng/utils.h +++ b/src/bin/lttng/utils.h @@ -19,7 +19,6 @@ #define _LTTNG_UTILS_H #include -#include "version.h" #include