]> sourceware.org Git - systemtap.git/commitdiff
Add 'unused' attribute to module_data and module_size arguments of check_permissions.
authorDave Brolley <brolley@redhat.com>
Tue, 11 Aug 2009 15:57:04 +0000 (11:57 -0400)
committerDave Brolley <brolley@redhat.com>
Tue, 11 Aug 2009 15:57:04 +0000 (11:57 -0400)
runtime/staprun/staprun_funcs.c

index 4e525b006089bafc916c0f5c68bc06c51bdf4242..6ef96111e86e9427f768da83ede3d4d48bf6685d 100644 (file)
@@ -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;
 
This page took 0.0299199999999999 seconds and 5 git commands to generate.