diff options
author | Torbjorn Granlund <tege@gnu.org> | 1992-09-05 22:51:40 +0000 |
---|---|---|
committer | Torbjorn Granlund <tege@gnu.org> | 1992-09-05 22:51:40 +0000 |
commit | 838928c2fc216425bed3931768030e92aaafa9d9 (patch) | |
tree | a9eda7cd2340beaa9935b6c7f149c546f0fab9d2 /gcc | |
parent | 3a7a271921e26d4565c0ab689dae428de3009e27 (diff) | |
download | gcc-838928c2fc216425bed3931768030e92aaafa9d9.zip gcc-838928c2fc216425bed3931768030e92aaafa9d9.tar.gz gcc-838928c2fc216425bed3931768030e92aaafa9d9.tar.bz2 |
(before functions): Remove xmalloc decl.
(arm_asm_output_label): Cast value from xmalloc.
From-SVN: r2058
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/arm/arm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 8ef04c4..2beeae7 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -38,7 +38,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define MAX_INSNS_SKIPPED 5 /* Some function declarations. */ -extern void *xmalloc (); extern FILE *asm_out_file; extern char *output_multi_immediate (); extern char *arm_output_asm_insn (); @@ -1012,7 +1011,7 @@ arm_asm_output_label (stream, name) for (s = real_name; *s; s++) hash += *s; hash = hash % LABEL_HASH_SIZE; - cur = xmalloc (sizeof (struct label_offset)); + cur = (struct label_offset *) xmalloc (sizeof (struct label_offset)); cur->name = real_name; cur->offset = arm_text_location; cur->cdr = offset_table[hash]; |