From 121d0bf7a7dc0d8cd48dfc94724c1f108c85f01e Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Tue, 11 Aug 2009 11:57:04 -0400 Subject: Add 'unused' attribute to module_data and module_size arguments of check_permissions. --- runtime/staprun/staprun_funcs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'runtime/staprun/staprun_funcs.c') 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; -- cgit