Rename C++ header files to .hpp
[lttng-tools.git] / tests / unit / test_notification.cpp
index a44c8ef6718b9ba4808e1387565617eb060c48d6..e870cbef6dab355eab2e8f6151c642589b1bd8e3 100644 (file)
@@ -24,7 +24,7 @@
 #include <lttng/notification/notification.h>
 #include <lttng/trigger/trigger.h>
 
-#include <common/macros.h>
+#include <common/macros.hpp>
 
 /* For error.h */
 int lttng_opt_quiet = 1;
@@ -193,7 +193,7 @@ static void test_condition_buffer_usage(
        ok(status == LTTNG_CONDITION_STATUS_OK, "Set threshold > 0");
        status = lttng_condition_buffer_usage_get_threshold(buffer_usage_condition, &threshold_bytes);
        ok(status == LTTNG_CONDITION_STATUS_OK, "Threshold is set");
-       ok(threshold_bytes == 100000, "Threshold is %" PRIu64 , 100000);
+       ok(threshold_bytes == 100000, "Threshold is 100000");
 
        status = lttng_condition_buffer_usage_set_threshold(buffer_usage_condition, UINT64_MAX);
        ok(status == LTTNG_CONDITION_STATUS_OK, "Set threshold UINT64_MAX");
@@ -303,7 +303,7 @@ static void test_trigger(void)
 }
 
 
-int main(int argc, const char *argv[])
+int main(void)
 {
        plan_tests(NUM_TESTS);
        test_condition_buffer_usage_low();
This page took 0.023833 seconds and 4 git commands to generate.