Rename C++ header files to .hpp
[lttng-tools.git] / src / common / event-rule / jul-logging.cpp
index 77ae3800c2fc30a98efdc68a8e66af85a3949332..51cbdc0041857ed2894995124a02f0dc85bfb6da 100644 (file)
@@ -5,19 +5,19 @@
  *
  */
 
-#include <common/credentials.h>
-#include <common/error.h>
-#include <common/hashtable/hashtable.h>
-#include <common/hashtable/utils.h>
-#include <common/macros.h>
-#include <common/mi-lttng.h>
-#include <common/optional.h>
-#include <common/payload-view.h>
-#include <common/payload.h>
-#include <common/runas.h>
-#include <common/string-utils/string-utils.h>
-#include <lttng/event-rule/event-rule-internal.h>
-#include <lttng/event-rule/jul-logging-internal.h>
+#include <common/credentials.hpp>
+#include <common/error.hpp>
+#include <common/hashtable/hashtable.hpp>
+#include <common/hashtable/utils.hpp>
+#include <common/macros.hpp>
+#include <common/mi-lttng.hpp>
+#include <common/optional.hpp>
+#include <common/payload-view.hpp>
+#include <common/payload.hpp>
+#include <common/runas.hpp>
+#include <common/string-utils/string-utils.hpp>
+#include <lttng/event-rule/event-rule-internal.hpp>
+#include <lttng/event-rule/jul-logging-internal.hpp>
 #include <lttng/event.h>
 #include <lttng/log-level-rule.h>
 
@@ -376,7 +376,7 @@ lttng_event_rule_jul_logging_get_internal_filter_bytecode(
 
 static enum lttng_event_rule_generate_exclusions_status
 lttng_event_rule_jul_logging_generate_exclusions(
-               const struct lttng_event_rule *rule,
+               const struct lttng_event_rule *rule __attribute__((unused)),
                struct lttng_event_exclusion **_exclusions)
 {
        /* Unsupported. */
@@ -850,7 +850,8 @@ end:
        return status;
 }
 
-static bool log_level_rule_valid(const struct lttng_log_level_rule *rule)
+static bool log_level_rule_valid(
+               const struct lttng_log_level_rule *rule __attribute__((unused)))
 {
        /*
         * For both JUL and LOG4J custom log level are possible and can
This page took 0.042325 seconds and 4 git commands to generate.