clang-tidy: apply suggested fixes
[lttng-tools.git] / tests / utils / testapp / gen-ust-events-constructor / main.cpp
index 35240ac146d65375d00e3a106516f7327f57c650..7b1015b5b27d31f5aae1a93917d21ff02c463ea5 100644 (file)
 #include "tp.h"
 
 /* Use tracepoints defined and provided by shared libraries. */
-void test_constructor_so(void) __attribute__((constructor));
-void test_constructor_so(void)
+void test_constructor_so() __attribute__((constructor));
+void test_constructor_so()
 {
        tracepoint(tp_so_c, constructor_c_provider_shared_library);
 }
 
-void test_destructor_so(void) __attribute__((destructor));
-void test_destructor_so(void)
+void test_destructor_so() __attribute__((destructor));
+void test_destructor_so()
 {
        tracepoint(tp_so_c, destructor_c_provider_shared_library);
 }
 
 Objso g_objso_shared_library("global - shared library define and provider");
 
-int main(void)
+int main()
 {
-       Obj l_obj("main() local");
-       Objso l_objso("main() local - shared library define and provider");
+       const Obj l_obj("main() local");
+       const Objso l_objso("main() local - shared library define and provider");
 
        tracepoint(tp, main);
        return 0;
This page took 0.023043 seconds and 4 git commands to generate.