Rename C++ header files to .hpp
[lttng-tools.git] / src / lib / lttng-ctl / snapshot.cpp
index 543861d676d4639bb52cf9ac494f263d7317592e..b9bac9aa84b0c2d3cc90c4efcf6593922dbbc1af 100644 (file)
@@ -8,12 +8,12 @@
 #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.
@@ -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;
This page took 0.023582 seconds and 4 git commands to generate.