diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-03-11 22:11:09 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-03-11 22:11:09 -0400 |
commit | ec80b3969d33e4d54e97ead4286bdb018e2f1f97 (patch) | |
tree | 88c3403a2ec79e106c3d618d03b1b589990acd1d /testsuite/systemtap.base/sdt.c | |
parent | 3bd0d4df7ccfd9afe7771441b26d8baaaf180e29 (diff) | |
download | systemtap-steved-ec80b3969d33e4d54e97ead4286bdb018e2f1f97.tar.gz systemtap-steved-ec80b3969d33e4d54e97ead4286bdb018e2f1f97.tar.xz systemtap-steved-ec80b3969d33e4d54e97ead4286bdb018e2f1f97.zip |
improve sdt.h compatibility and test suite
Replaced cpp VA_ARGS in sdt.h with explicit enumeration of arguments
(since with -pedantic, cpp has no varargs), and added a few more
cflags variants to the sdt.exp test case.
Diffstat (limited to 'testsuite/systemtap.base/sdt.c')
-rw-r--r-- | testsuite/systemtap.base/sdt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/sdt.c b/testsuite/systemtap.base/sdt.c index 46f68664..7c7398e5 100644 --- a/testsuite/systemtap.base/sdt.c +++ b/testsuite/systemtap.base/sdt.c @@ -65,5 +65,7 @@ main (int argc, char **argv) call8(a, b, c, d, e, f, g, h); call9(a, b, c, d, e, f, g, h, i); call10(a, b, c, d, e, f, g, h, i, j); + (void) argv; + (void) argc; return 0; } |