diff options
author | Dave Brolley <brolley@redhat.com> | 2009-08-11 11:57:04 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-08-11 11:57:04 -0400 |
commit | 121d0bf7a7dc0d8cd48dfc94724c1f108c85f01e (patch) | |
tree | 8869add1ac8d64b2fd2bd13dc15a6c8895fa2af9 /runtime/staprun/staprun_funcs.c | |
parent | 65e0c5359d9544499c4475da3632f5fcbd342ea7 (diff) | |
download | systemtap-steved-121d0bf7a7dc0d8cd48dfc94724c1f108c85f01e.tar.gz systemtap-steved-121d0bf7a7dc0d8cd48dfc94724c1f108c85f01e.tar.xz systemtap-steved-121d0bf7a7dc0d8cd48dfc94724c1f108c85f01e.zip |
Add 'unused' attribute to module_data and module_size arguments of check_permissions.
Diffstat (limited to 'runtime/staprun/staprun_funcs.c')
-rw-r--r-- | runtime/staprun/staprun_funcs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/staprun/staprun_funcs.c b/runtime/staprun/staprun_funcs.c index 4e525b00..6ef96111 100644 --- a/runtime/staprun/staprun_funcs.c +++ b/runtime/staprun/staprun_funcs.c @@ -448,8 +448,10 @@ check_groups (void) * * Returns: -1 on errors, 0 on failure, 1 on success. */ -int check_permissions(const void *module_data, off_t module_size) -{ +int check_permissions( + const void *module_data __attribute__ ((unused)), + off_t module_size __attribute__ ((unused)) +) { int check_groups_rc; int check_signature_rc = 0; |