From cab634f2e9a515de84b9c59a564b5df3bce7cd4a Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Thu, 18 Jun 1998 06:46:35 +0000 Subject: Warning fixes: * Makefile.in (c-lang.o): Depend on output.h. * c-lang.c: Include output.h. * sparc.c (sparc_builtin_saveregs): Remove unused variable `fntype'. * except.c (expand_builtin_eh_stub): Likewise for variable `jump_to'. * genrecog.c (write_subroutine): When writing insn-recog.c, mark variables `insn', `pnum_clobbers', `x[0 .. max_depth]' and `tem' with ATTRIBUTE_UNUSED. * regmove.c (copy_src_to_dest): Make function static to match its prototype. * reload1.c Include hard-reg-set.h before rtl.h to get macro HARD_CONST. Include machmode.h before hard-reg-set.h. * rtl.h: Prototype `retry_global_alloc' and wrap with macro HARD_CONST to protect usage of typedef HARD_REG_SET. * tree.c: Prototype `_obstack_allocated_p'. * varasm.c: Wrap prototype of `asm_output_aligned_bss' in macro BSS_SECTION_ASM_OP. From-SVN: r20556 --- gcc/varasm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/varasm.c') diff --git a/gcc/varasm.c b/gcc/varasm.c index d60bfcb..cd65c90 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -164,9 +164,11 @@ static void output_constructor PROTO((tree, int)); #ifdef ASM_OUTPUT_BSS static void asm_output_bss PROTO((FILE *, tree, char *, int, int)); #endif +#ifdef BSS_SECTION_ASM_OP #ifdef ASM_OUTPUT_ALIGNED_BSS static void asm_output_aligned_bss PROTO((FILE *, tree, char *, int, int)); #endif +#endif /* BSS_SECTION_ASM_OP */ static enum in_section { no_section, in_text, in_data, in_named #ifdef BSS_SECTION_ASM_OP -- cgit v1.1