aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-avr.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-10-12 10:56:46 +0000
committerNick Clifton <nickc@redhat.com>2005-10-12 10:56:46 +0000
commitdc191a8f00d6dccb76ec917ec286b59d6876b010 (patch)
tree1444c76a892e3f247c69ce82a6d628b5a7fe8211 /gas/config/tc-avr.h
parent3ed30f54fcf7b4a58b2874b56e10cb945ca4d299 (diff)
downloadgdb-dc191a8f00d6dccb76ec917ec286b59d6876b010.zip
gdb-dc191a8f00d6dccb76ec917ec286b59d6876b010.tar.gz
gdb-dc191a8f00d6dccb76ec917ec286b59d6876b010.tar.bz2
* config/tc-avr.c: Convert to ISO C90 format. Fix formatting and generally
tidy up the code. * config/tc-avr.h: Likewise.
Diffstat (limited to 'gas/config/tc-avr.h')
-rw-r--r--gas/config/tc-avr.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gas/config/tc-avr.h b/gas/config/tc-avr.h
index 75d923e..df12045 100644
--- a/gas/config/tc-avr.h
+++ b/gas/config/tc-avr.h
@@ -53,13 +53,13 @@
/* You may define this macro to parse an expression used in a data
allocation pseudo-op such as `.word'. You can use this to
recognize relocation directives that may appear in such directives. */
-#define TC_PARSE_CONS_EXPRESSION(EXPR,N) avr_parse_cons_expression (EXPR,N)
-void avr_parse_cons_expression (expressionS *exp, int nbytes);
+#define TC_PARSE_CONS_EXPRESSION(EXPR,N) avr_parse_cons_expression (EXPR, N)
+extern void avr_parse_cons_expression (expressionS *, int);
/* You may define this macro to generate a fixup for a data
allocation pseudo-op. */
-#define TC_CONS_FIX_NEW(FRAG,WHERE,N,EXP) avr_cons_fix_new(FRAG,WHERE,N,EXP)
-void avr_cons_fix_new(fragS *frag,int where, int nbytes, expressionS *exp);
+#define TC_CONS_FIX_NEW(FRAG,WHERE,N,EXP) avr_cons_fix_new (FRAG, WHERE, N, EXP)
+extern void avr_cons_fix_new (fragS *,int, int, expressionS *);
/* This should just call either `number_to_chars_bigendian' or
`number_to_chars_littleendian', whichever is appropriate. On
@@ -100,8 +100,8 @@ void avr_cons_fix_new(fragS *frag,int where, int nbytes, expressionS *exp);
relative adjustment should be made. On many processors, the base
of a PC relative instruction is the next instruction, so this
macro would return the length of an instruction. */
-#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section(FIX, SEC)
-extern long md_pcrel_from_section PARAMS ((struct fix *, segT));
+#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
+extern long md_pcrel_from_section (struct fix *, segT);
/* The number of bytes to put into a word in a listing. This affects
the way the bytes are clumped together in the listing. For