OSDN Git Service

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 700bbb9..7f3da73 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 5cd9215..2ef3872 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";