tests: add declaration for test_function in userspace-probe-elf-binary.c
[lttng-tools.git] / tests / utils / testapp / userspace-probe-elf-binary / userspace-probe-elf-binary.c
index a9dfb22b4cccc1ae7cd679257cba77a8b0b700c6..8488c8a3940ffb9770ca94cba79f553db6d22c9d 100644 (file)
 
 #include "foo.h"
 volatile int not_a_function = 0;
 
 #include "foo.h"
 volatile int not_a_function = 0;
-void __attribute__ ((noinline))  test_function()
+
+void __attribute__ ((noinline)) test_function();
+void __attribute__ ((noinline)) test_function()
 {
        not_a_function += 1;
 }
 {
        not_a_function += 1;
 }
+
 int main(int argc, char *argv[])
 {
        test_function();
 int main(int argc, char *argv[])
 {
        test_function();
This page took 0.024436 seconds and 5 git commands to generate.