aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-bfin.h
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/tc-bfin.h
parent11fa8e431388f2e50d86cd4af26b748eba56b10e (diff)
downloadgdb-5a49b8acf456d4a049c002fae31b83a10b35e6f8.zip
gdb-5a49b8acf456d4a049c002fae31b83a10b35e6f8.tar.gz
gdb-5a49b8acf456d4a049c002fae31b83a10b35e6f8.tar.bz2
Banish PARAMS and PTR. Convert to ISO C.
Delete unnecessary forward declarations.
Diffstat (limited to 'gas/config/tc-bfin.h')
-rw-r--r--gas/config/tc-bfin.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gas/config/tc-bfin.h b/gas/config/tc-bfin.h
index 9730825..5544dea 100644
--- a/gas/config/tc-bfin.h
+++ b/gas/config/tc-bfin.h
@@ -1,5 +1,5 @@
/* tc-bfin.h - header file for tc-bfin.c
- Copyright 2005, 2007
+ Copyright 2005, 2007, 2008
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -39,8 +39,8 @@
#define WORKING_DOT_WORD
-extern void bfin_start_line_hook PARAMS ((void));
-extern bfd_boolean bfin_start_label PARAMS ((char *));
+extern void bfin_start_line_hook (void);
+extern bfd_boolean bfin_start_label (char *);
#define md_start_line_hook() bfin_start_line_hook()
#define md_number_to_chars number_to_chars_littleendian
@@ -50,7 +50,7 @@ extern bfd_boolean bfin_start_label PARAMS ((char *));
#define LEX_BR 6
#define TC_EOL_IN_INSN(PTR) (bfin_eol_in_insn(PTR) ? 1 : 0)
-extern bfd_boolean bfin_eol_in_insn PARAMS ((char *));
+extern bfd_boolean bfin_eol_in_insn (char *);
/* Almost all instructions of Blackfin contain an = character. */
#define TC_EQUAL_IN_INSN(C, NAME) 1
@@ -63,14 +63,14 @@ extern bfd_boolean bfin_eol_in_insn PARAMS ((char *));
#define TC_START_LABEL(ch ,ptr) (ch == ':' && bfin_start_label (ptr))
#define tc_fix_adjustable(FIX) bfin_fix_adjustable (FIX)
-extern bfd_boolean bfin_fix_adjustable PARAMS ((struct fix *));
+extern bfd_boolean bfin_fix_adjustable (struct fix *);
#define TC_FORCE_RELOCATION(FIX) bfin_force_relocation (FIX)
-extern int bfin_force_relocation PARAMS ((struct fix *));
+extern int bfin_force_relocation (struct fix *);
/* Call md_pcrel_from_section(), not md_pcrel_from(). */
#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-extern long md_pcrel_from_section PARAMS ((struct fix *, segT));
+extern long md_pcrel_from_section (struct fix *, segT);
/* Values passed to md_apply_fix3 don't include symbol values. */
#define MD_APPLY_SYM_VALUE(FIX) 0