summaryrefslogtreecommitdiff
path: root/bfd/ihex.c
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
commit4126d3ea95f48508addd8cb4d2739b8f77307f7a (patch)
treef53883e0e162453d9f5cb65fba1a61363ec3308a /bfd/ihex.c
parentb452a91aed9179442537f304cd1d31c5ed81b9aa (diff)
downloadgdb-4126d3ea95f48508addd8cb4d2739b8f77307f7a.tar.gz
* 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/ihex.c')
-rw-r--r--bfd/ihex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/ihex.c b/bfd/ihex.c
index b9953d329f5..5eb3862b448 100644
--- a/bfd/ihex.c
+++ b/bfd/ihex.c
@@ -1,5 +1,5 @@
/* BFD back-end for Intel Hex objects.
- Copyright 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
Written by Ian Lance Taylor of Cygnus Support <ian@cygnus.com>.
This file is part of BFD, the Binary File Descriptor library.
@@ -947,8 +947,8 @@ ihex_set_arch_mach (abfd, arch, mach)
/*ARGSUSED*/
static int
ihex_sizeof_headers (abfd, exec)
- bfd *abfd;
- boolean exec;
+ bfd *abfd ATTRIBUTE_UNUSED;
+ boolean exec ATTRIBUTE_UNUSED;
{
return 0;
}