Prepare for '-Wunused-parameter'
[lttng-tools.git] / tests / utils / testapp / userspace-probe-elf-cxx-binary / userspace-probe-elf-cxx-binary.cpp
index 6b30717ae6140104e1f974d0d06a05f10d1e2363..2e169c8fc4fc466d04ee70f0eb479250639d3924 100644 (file)
@@ -8,12 +8,14 @@
 #include "test_class.h"
 
 volatile int not_a_function = 0;
-void __attribute__ ((noinline))  test_cxx_function()
+
+void test_cxx_function() __attribute__ ((noinline));
+void test_cxx_function()
 {
        not_a_function += 1;
 }
 
-int main(int argc, char *argv[])
+int main(void)
 {
        test_class my_test_class;
        /* Call test function. */
This page took 0.023863 seconds and 4 git commands to generate.