clang-tidy: apply suggested fixes
[lttng-tools.git] / tests / utils / testapp / gen-ust-events-constructor / 04-tp-provider.cpp
index bebf0d23269f15c7aed2d01a6bba2a2b1f36ce3a..631700dfc63181a7a2f65af56c59a10166af5146 100644 (file)
@@ -6,17 +6,17 @@
 
 #include "obj.h"
 
-static void fct_constructor4(void);
-static void fct_destructor4(void);
+static void fct_constructor4();
+static void fct_destructor4();
 
-void test_constructor4_same_unit_before(void) __attribute__((constructor));
-void test_constructor4_same_unit_before(void)
+void test_constructor4_same_unit_before() __attribute__((constructor));
+void test_constructor4_same_unit_before()
 {
        fct_constructor4();
 }
 
-void test_destructor4_same_unit_before(void) __attribute__((destructor));
-void test_destructor4_same_unit_before(void)
+void test_destructor4_same_unit_before() __attribute__((destructor));
+void test_destructor4_same_unit_before()
 {
        fct_destructor4();
 }
@@ -28,24 +28,24 @@ Obj g_obj_same_unit_before_provider("global - same unit before provider");
 
 Obj g_obj_same_unit_after_provider("global - same unit after provider");
 
-static void fct_constructor4(void)
+static void fct_constructor4()
 {
        tracepoint(tp, constructor_c_same_unit_before_provider);
 }
 
-static void fct_destructor4(void)
+static void fct_destructor4()
 {
        tracepoint(tp, destructor_c_same_unit_before_provider);
 }
 
-void test_constructor4_same_unit_after(void) __attribute__((constructor));
-void test_constructor4_same_unit_after(void)
+void test_constructor4_same_unit_after() __attribute__((constructor));
+void test_constructor4_same_unit_after()
 {
        tracepoint(tp, constructor_c_same_unit_after_provider);
 }
 
-void test_destructor4_same_unit_after(void) __attribute__((destructor));
-void test_destructor4_same_unit_after(void)
+void test_destructor4_same_unit_after() __attribute__((destructor));
+void test_destructor4_same_unit_after()
 {
        tracepoint(tp, destructor_c_same_unit_after_provider);
 }
This page took 0.023631 seconds and 4 git commands to generate.