X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Flttng.cpp;h=7e70c3afce4f9e22b03e628bdda0b6344635d6ae;hb=c29d17cd2d85f6ee89037377cc33821829529867;hp=2b169cb0ea52ef0db6902b6555aa9205569c371c;hpb=21cf9b6b1843774306a76f4dccddddd706b64f79;p=lttng-tools.git diff --git a/src/bin/lttng/lttng.cpp b/src/bin/lttng/lttng.cpp index 2b169cb0e..7e70c3afc 100644 --- a/src/bin/lttng/lttng.cpp +++ b/src/bin/lttng/lttng.cpp @@ -17,12 +17,12 @@ #include #include -#include -#include -#include +#include +#include +#include -#include "command.h" -#include "version.h" +#include "command.hpp" +#include "version.hpp" static const char *help_msg = #ifdef LTTNG_EMBED_HELP @@ -150,6 +150,7 @@ static void list_options(FILE *ofp) /* * clean_exit */ +__attribute__((noreturn)) static void clean_exit(int code) { DBG("Clean exit");