aboutsummaryrefslogtreecommitdiff
path: root/gas/gasp.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-03-18 21:04:18 +0000
committerIan Lance Taylor <ian@airs.com>1997-03-18 21:04:18 +0000
commit7cd06f440008ea912a4eebcbb87e385bf4e5b979 (patch)
treef1c2a10689673be832c32f4d9795dc59156888fd /gas/gasp.c
parent939b216956668489c979bdc55cfaadc25e28e025 (diff)
downloadgdb-7cd06f440008ea912a4eebcbb87e385bf4e5b979.zip
gdb-7cd06f440008ea912a4eebcbb87e385bf4e5b979.tar.gz
gdb-7cd06f440008ea912a4eebcbb87e385bf4e5b979.tar.bz2
Tue Mar 18 15:50:13 1997 H.J. Lu <hjl@lucon.org>
* Many files: Add function prototypes. * as.c (show_usage, parse_args): Make static. * frags.h (frag_alloc): Declare. * subsegs.c (subseg_set_rest): Don't declare frag_alloc. * symbols.c (dollar_label_instance): Change return type to long. * symbols.h (print_symbol_value): Declare. (print_expr, print_expr_1, print_symbol_value_1): Declare. * write.c (fix_new_exp): Don't declare make_expr_symbol. (remove_subsegs, relax_frag): Make static. * config/atof-vax.c (atof_vax_sizeof): Change letter to int. (what_kind_of_float): Likewise. (atof_vax): Make static. Change what_kind to int. (md_atof): Change what_statement_type to int. * config/obj-ecoff.h (obj_ecoff_set_ext): Declare. * config/tc-alpha.c (vax_md_atof): Declare. (md_atof): Don't declare atof_ieee and vax_md_atof. * config/tc-i386.c (set_16bit_code_flag): Make static. * config/tc-i386.h (tc_i386_fix_adjustable): Declare. * config/tc-m68k.c (add_fix): Change width to int. (insert_reg): Change regname to const. (md_atof): Don't declare atof_ieee. (demand_empty_rest_of_line): Don't declare. * config/tc-m88k.c (md_atof): Don't declare atof_ieee. * config/tc-sparc.c (cmp_reg_entry): Change args to const PTR. (parse_keyword_arg): Change lookup_fn to take const arg. (md_atof): Don't declare atof_ieee. * config/tc-sparc.h: Add ifdef for multiple inclusion. (tc_aout_pre_write_hook): Don't declare.
Diffstat (limited to 'gas/gasp.c')
-rw-r--r--gas/gasp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/gasp.c b/gas/gasp.c
index 27efb05..3fb51b8 100644
--- a/gas/gasp.c
+++ b/gas/gasp.c
@@ -70,6 +70,11 @@ extern char *malloc ();
char *program_version = "1.2";
+/* This is normally declared in as.h, but we don't include that. We
+ need the function because other files linked with gasp.c might call
+ it. */
+extern void as_abort PARAMS ((const char *, int, const char *));
+
#define MAX_INCLUDES 30 /* Maximum include depth */
#define MAX_REASONABLE 1000 /* Maximum number of expansions */