Rename C++ header files to .hpp
[lttng-tools.git] / src / lib / lttng-ctl / rotate.cpp
index 6a003a18ec101f1b0a3aa13eaaf5027c8df2c987..b6a66392af2cd2e492d7f7eec0af567ed8d71f0d 100644 (file)
 
 #include <lttng/lttng-error.h>
 #include <lttng/rotation.h>
-#include <lttng/location-internal.h>
-#include <lttng/rotate-internal.h>
-#include <common/sessiond-comm/sessiond-comm.h>
-#include <common/macros.h>
+#include <lttng/location-internal.hpp>
+#include <lttng/rotate-internal.hpp>
+#include <common/sessiond-comm/sessiond-comm.hpp>
+#include <common/macros.hpp>
 
-#include "lttng-ctl-helper.h"
+#include "lttng-ctl-helper.hpp"
 
 static
 enum lttng_rotation_status ask_rotation_info(
@@ -196,7 +196,7 @@ end:
  * Return 0 on success else a negative LTTng error code.
  */
 int lttng_rotate_session(const char *session_name,
-               struct lttng_rotation_immediate_descriptor *descriptor,
+               struct lttng_rotation_immediate_descriptor *descriptor __attribute__((unused)),
                struct lttng_rotation_handle **rotation_handle)
 {
        struct lttcomm_session_msg lsm;
This page took 0.023947 seconds and 4 git commands to generate.