projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare for '-Wunused-parameter'
[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..d530be2691b8cbacbae6db4ca57be36145376293 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,13
+8,13
@@
#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;
}
-int main(
int argc, char *argv[]
)
+int main(
void
)
{
test_function();
dynamic_symbol(42);
{
test_function();
dynamic_symbol(42);
This page took
0.02515 seconds
and
4
git commands to generate.