aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-11 19:49:48 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-11 19:49:48 +0000
commit7442e600c8d771f2d03c6df7415bbfcbf99759b6 (patch)
tree38991cc5caf814f1e631527af3c58342290b80ff /bfd/aout-target.h
parent * ansidecl.h: Copy attribute support macros from egcs. (diff)
downloadbinutils-gdb-7442e600c8d771f2d03c6df7415bbfcbf99759b6.tar.gz
binutils-gdb-7442e600c8d771f2d03c6df7415bbfcbf99759b6.tar.bz2
binutils-gdb-7442e600c8d771f2d03c6df7415bbfcbf99759b6.zip
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Fill in structure initializations. Add variable initializations. Add casts. * dwarf1.c (parse_line_table): Change eachLine to unsigned long. (dwarf1_unit_find_nearest_line): Change i to unsigned long.
Diffstat (limited to 'bfd/aout-target.h')
-rw-r--r--bfd/aout-target.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/aout-target.h b/bfd/aout-target.h
index 1aee07aada0..876b30a95a3 100644
--- a/bfd/aout-target.h
+++ b/bfd/aout-target.h
@@ -1,5 +1,5 @@
/* Define a target vector and some small routines for a variant of a.out.
- Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 1997
+ Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 97, 98, 1999
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -234,9 +234,9 @@ static boolean MY_bfd_copy_private_section_data
static boolean
MY_bfd_copy_private_section_data (ibfd, isec, obfd, osec)
bfd *ibfd;
- asection *isec;
+ asection *isec ATTRIBUTE_UNUSED;
bfd *obfd;
- asection *osec;
+ asection *osec ATTRIBUTE_UNUSED;
{
if (bfd_get_flavour (ibfd) == bfd_target_aout_flavour
&& bfd_get_flavour (obfd) == bfd_target_aout_flavour)