aboutsummaryrefslogtreecommitdiff
path: root/gas/frags.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2003-11-22 16:03:03 +0000
committerKazu Hirata <kazu@codesourcery.com>2003-11-22 16:03:03 +0000
commitdd625418be793812f132dbb9e08a4b00fbea9868 (patch)
tree08abaf6dcca5d1720692732ce1156ef343fa97a4 /gas/frags.h
parent369864a44db723c61b3bc457e869abfe73ec7664 (diff)
downloadgdb-dd625418be793812f132dbb9e08a4b00fbea9868.zip
gdb-dd625418be793812f132dbb9e08a4b00fbea9868.tar.gz
gdb-dd625418be793812f132dbb9e08a4b00fbea9868.tar.bz2
* ehopt.c: Convert to ISO-C.
* emul.h: Likewise. * expr.c: Likewise. * expr.h: Likewise. * flonum-copy.c: Likewise. * flonum-mult.c: Likewise. * flonum.h: Likewise. * frags.c: Likewise. * frags.h: Likewise.
Diffstat (limited to 'gas/frags.h')
-rw-r--r--gas/frags.h60
1 files changed, 29 insertions, 31 deletions
diff --git a/gas/frags.h b/gas/frags.h
index 82bf7c8..73b7182 100644
--- a/gas/frags.h
+++ b/gas/frags.h
@@ -106,8 +106,8 @@ struct frag {
however, included in frchain_now. The fr_fix field is bogus;
instead, use frag_now_fix (). */
COMMON fragS *frag_now;
-extern addressT frag_now_fix PARAMS ((void));
-extern addressT frag_now_fix_octets PARAMS ((void));
+extern addressT frag_now_fix (void);
+extern addressT frag_now_fix_octets (void);
/* For foreign-segment symbol fixups. */
COMMON fragS zero_address_frag;
@@ -127,37 +127,35 @@ COMMON fragS bss_address_frag;
obstack_1grow (&frags, datum); \
}
#else
-extern void frag_append_1_char PARAMS ((int));
+extern void frag_append_1_char (int);
#define FRAG_APPEND_1_CHAR(X) frag_append_1_char (X)
#endif
-void frag_init PARAMS ((void));
-fragS *frag_alloc PARAMS ((struct obstack *));
-void frag_grow PARAMS ((unsigned int nchars));
-char *frag_more PARAMS ((int nchars));
-void frag_align PARAMS ((int alignment, int fill_character, int max));
-void frag_align_pattern PARAMS ((int alignment,
- const char *fill_pattern,
- int n_fill,
- int max));
-void frag_align_code PARAMS ((int alignment, int max));
-void frag_new PARAMS ((int old_frags_var_max_size));
-void frag_wane PARAMS ((fragS * fragP));
-
-char *frag_variant PARAMS ((relax_stateT type,
- int max_chars,
- int var,
- relax_substateT subtype,
- symbolS * symbol,
- offsetT offset,
- char *opcode));
-
-char *frag_var PARAMS ((relax_stateT type,
- int max_chars,
- int var,
- relax_substateT subtype,
- symbolS * symbol,
- offsetT offset,
- char *opcode));
+void frag_init (void);
+fragS *frag_alloc (struct obstack *);
+void frag_grow (unsigned int nchars);
+char *frag_more (int nchars);
+void frag_align (int alignment, int fill_character, int max);
+void frag_align_pattern (int alignment, const char *fill_pattern,
+ int n_fill, int max);
+void frag_align_code (int alignment, int max);
+void frag_new (int old_frags_var_max_size);
+void frag_wane (fragS * fragP);
+
+char *frag_variant (relax_stateT type,
+ int max_chars,
+ int var,
+ relax_substateT subtype,
+ symbolS * symbol,
+ offsetT offset,
+ char *opcode);
+
+char *frag_var (relax_stateT type,
+ int max_chars,
+ int var,
+ relax_substateT subtype,
+ symbolS * symbol,
+ offsetT offset,
+ char *opcode);
#endif /* FRAGS_H */