From 838928c2fc216425bed3931768030e92aaafa9d9 Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Sat, 5 Sep 1992 22:51:40 +0000 Subject: [PATCH] (before functions): Remove xmalloc decl. (arm_asm_output_label): Cast value from xmalloc. From-SVN: r2058 --- gcc/config/arm/arm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 8ef04c4cdf5..2beeae72382 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]; -- 2.30.2