diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-07-11 20:09:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-07-11 20:09:04 +0000 |
commit | 87f2a3464bc56880619910126816120eeafdb1e2 (patch) | |
tree | 5889dc929e03609fc7e2ef7e6aaf04da15336f43 /ld/ldcref.c | |
parent | 8622e41b9ffd432fc916f0dd2fc8227f27eea3a9 (diff) | |
download | gdb-87f2a3464bc56880619910126816120eeafdb1e2.zip gdb-87f2a3464bc56880619910126816120eeafdb1e2.tar.gz gdb-87f2a3464bc56880619910126816120eeafdb1e2.tar.bz2 |
* 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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/ldcref.c b/ld/ldcref.c index 96e0d2d..c75b8e6 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; |