projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tests: add `void` parameter to functions that take no parameters
[lttng-tools.git]
/
tests
/
utils
/
testapp
/
userspace-probe-elf-binary
/
userspace-probe-elf-binary.c
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 d4304541d34a7a451f8d001857aea304ef96ecd4..e6e041da998519ecadd7afc7ee4e4d9a31878caa 100644
(file)
--- 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;
#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;
}
{
not_a_function += 1;
}
This page took
0.027765 seconds
and
4
git commands to generate.