summaryrefslogtreecommitdiff
path: root/ld/ldcref.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-11 20:09:04 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-11 20:09:04 +0000
commit50f44c33d607114f4a2343b6406706ea38a478f0 (patch)
treed2ceaf64c74dee19e65824084719035753629a17 /ld/ldcref.c
parent5e1a177545885157d185cbc42a2ac11fe86d2cc5 (diff)
downloadbinutils-redhat-50f44c33d607114f4a2343b6406706ea38a478f0.tar.gz
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Fill in structure initializations.
Diffstat (limited to 'ld/ldcref.c')
-rw-r--r--ld/ldcref.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/ldcref.c b/ld/ldcref.c
index 96e0d2d9df..c75b8e63fe 100644
--- a/ld/ldcref.c
+++ b/ld/ldcref.c
@@ -1,5 +1,5 @@
/* ldcref.c -- output a cross reference table
- Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@cygnus.com>
This file is part of GLD, the Gnu Linker.
@@ -151,7 +151,7 @@ add_cref (name, abfd, section, value)
const char *name;
bfd *abfd;
asection *section;
- bfd_vma value;
+ bfd_vma value ATTRIBUTE_UNUSED;
{
struct cref_hash_entry *h;
struct cref_ref *r;
@@ -354,7 +354,7 @@ check_nocrossrefs ()
static boolean
check_nocrossref (h, ignore)
struct cref_hash_entry *h;
- PTR ignore;
+ PTR ignore ATTRIBUTE_UNUSED;
{
struct bfd_link_hash_entry *hl;
asection *defsec;