PR binutils/2159
authorNick Clifton <nickc@redhat.com>
Tue, 17 Jan 2006 10:34:43 +0000 (10:34 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 17 Jan 2006 10:34:43 +0000 (10:34 +0000)
* elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused parameters.

bfd/ChangeLog
bfd/elf.c

index 700bbb9a4ade1f5819e592c5c69d069c85a678de..7f3da733818ef4a638b86718e3c6cfac443f9615 100644 (file)
@@ -1,3 +1,9 @@
+2006-01-17  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/2159
+       * elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused
+       parameters.
+
 2006-01-11  Nick Clifton  <nickc@redhat.com>
 
        * elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry
index 5cd921542e0f3ff51fc310cf8014379a64ca2c33..2ef3872889c9091250554921f70c5feff3bfd181 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -7889,8 +7889,8 @@ elfcore_write_pstatus (bfd *abfd,
                       char *buf,
                       int *bufsiz,
                       long pid,
-                      int cursig,
-                      const void *gregs)
+                      int cursig ATTRIBUTE_UNUSED,
+                      const void *gregs ATTRIBUTE_UNUSED)
 {
   pstatus_t pstat;
   char *note_name = "CORE";