aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-som.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-08-12 23:39:31 +0000
committerAlan Modra <amodra@gmail.com>2008-08-12 23:39:31 +0000
commit5a49b8acf456d4a049c002fae31b83a10b35e6f8 (patch)
treec55c2f40551c32d774a8dfd9c61b5ba503dc954a /gas/config/obj-som.c
parent11fa8e431388f2e50d86cd4af26b748eba56b10e (diff)
downloadfsf-binutils-gdb-5a49b8acf456d4a049c002fae31b83a10b35e6f8.zip
fsf-binutils-gdb-5a49b8acf456d4a049c002fae31b83a10b35e6f8.tar.gz
fsf-binutils-gdb-5a49b8acf456d4a049c002fae31b83a10b35e6f8.tar.bz2
Banish PARAMS and PTR. Convert to ISO C.
Delete unnecessary forward declarations.
Diffstat (limited to 'gas/config/obj-som.c')
-rw-r--r--gas/config/obj-som.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/obj-som.c b/gas/config/obj-som.c
index 20301c5..99397a6 100644
--- a/gas/config/obj-som.c
+++ b/gas/config/obj-som.c
@@ -1,6 +1,6 @@
/* SOM object file format.
Copyright 1993, 1994, 1998, 2000, 2002, 2003, 2004, 2005, 2006,
- 2007 Free Software Foundation, Inc.
+ 2007, 2008 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -263,7 +263,7 @@ obj_som_init_stab_section (segT seg)
/* Fill in the counts in the first entry in a .stabs section. */
static void
-adjust_stab_sections (bfd *abfd, asection *sec, PTR xxx ATTRIBUTE_UNUSED)
+adjust_stab_sections (bfd *abfd, asection *sec, void *xxx ATTRIBUTE_UNUSED)
{
asection *strsec;
char *p;
@@ -292,7 +292,7 @@ adjust_stab_sections (bfd *abfd, asection *sec, PTR xxx ATTRIBUTE_UNUSED)
void
som_frob_file (void)
{
- bfd_map_over_sections (stdoutput, adjust_stab_sections, (PTR) 0);
+ bfd_map_over_sections (stdoutput, adjust_stab_sections, (void *) 0);
}
static void