X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Fsnapshot.cpp;h=b9bac9aa84b0c2d3cc90c4efcf6593922dbbc1af;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=543861d676d4639bb52cf9ac494f263d7317592e;hpb=4bd69c5f1161cd065f487da0f4c1aa03a73c47e4;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/snapshot.cpp b/src/lib/lttng-ctl/snapshot.cpp index 543861d67..b9bac9aa8 100644 --- a/src/lib/lttng-ctl/snapshot.cpp +++ b/src/lib/lttng-ctl/snapshot.cpp @@ -8,12 +8,12 @@ #define _LGPL_SOURCE #include -#include +#include #include #include -#include +#include -#include "lttng-ctl-helper.h" +#include "lttng-ctl-helper.hpp" /* * Add an output object to a session identified by name. @@ -196,7 +196,8 @@ void lttng_snapshot_output_list_destroy(struct lttng_snapshot_output_list *list) * Return 0 on success or else a negative LTTNG_ERR value. */ int lttng_snapshot_record(const char *session_name, - struct lttng_snapshot_output *output, int wait) + struct lttng_snapshot_output *output, + int wait __attribute__((unused))) { int ret; struct lttcomm_session_msg lsm;