X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fuserspace-probe-elf-binary%2Fuserspace-probe-elf-binary.c;fp=tests%2Futils%2Ftestapp%2Fuserspace-probe-elf-binary%2Fuserspace-probe-elf-binary.c;h=e6e041da998519ecadd7afc7ee4e4d9a31878caa;hp=d4304541d34a7a451f8d001857aea304ef96ecd4;hb=b670b3048650a2568e1fd782843252bb237851cb;hpb=562f936f87b994cdd940d5142f6d3aedb2d95573 diff --git a/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary.c b/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary.c index d4304541d..e6e041da9 100644 --- a/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary.c +++ b/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary.c @@ -8,8 +8,8 @@ #include "foo.h" volatile int not_a_function = 0; -void __attribute__ ((noinline)) test_function(); -void __attribute__ ((noinline)) test_function() +void __attribute__ ((noinline)) test_function(void); +void __attribute__ ((noinline)) test_function(void) { not_a_function += 1; }