#define _LGPL_SOURCE
#include <string.h>
-#include <common/sessiond-comm/sessiond-comm.h>
+#include <common/sessiond-comm/sessiond-comm.hpp>
#include <lttng/lttng-error.h>
#include <lttng/snapshot.h>
-#include <lttng/snapshot-internal.h>
+#include <lttng/snapshot-internal.hpp>
-#include "lttng-ctl-helper.h"
+#include "lttng-ctl-helper.hpp"
/*
* Add an output object to a session identified by name.
* 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;