From 6c10990dfd7186c063f2857439477a377c29fb18 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 17 Jan 2006 10:34:43 +0000 Subject: [PATCH] PR binutils/2159 * elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused parameters. --- bfd/ChangeLog | 6 ++++++ bfd/elf.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 700bbb9a4ad..7f3da733818 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2006-01-17 Nick Clifton + + PR binutils/2159 + * elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused + parameters. + 2006-01-11 Nick Clifton * elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry diff --git a/bfd/elf.c b/bfd/elf.c index 5cd921542e0..2ef3872889c 100644 --- 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"; -- 2.30.2