From 117f9d2847123445eb38acddecfa94428d3674b6 Mon Sep 17 00:00:00 2001 From: Graham Stott Date: Thu, 10 Jan 2002 08:59:05 +0000 Subject: [PATCH] dwarf2out.c (indirect_string_alloc, [...]): Move prototype into DWARF2_DEBUGGING_INFO conditional block. * dwarf2out.c (indirect_string_alloc, output_indirect_string): Move prototype into DWARF2_DEBUGGING_INFO conditional block. From-SVN: r48718 --- gcc/ChangeLog | 5 +++++ gcc/dwarf2out.c | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 951f98d8f1c..f33f6ac40a0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-01-20 Graham Stott + + * dwarf2out.c (indirect_string_alloc, output_indirect_string): + Move prototype into DWARF2_DEBUGGING_INFO conditional block. + 2002-01-10 Richard Henderson * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 3c114848adb..ca56ce17093 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -298,11 +298,6 @@ static struct dw_loc_descr_struct *build_cfa_loc static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); -/* .debug_str support. */ -static hashnode indirect_string_alloc PARAMS ((hash_table *)); -static int output_indirect_string PARAMS ((struct cpp_reader *, - hashnode, const PTR)); - /* How to start an assembler comment. */ #ifndef ASM_COMMENT_START #define ASM_COMMENT_START ";#" @@ -3046,6 +3041,12 @@ get_cfa_from_loc_descr (cfa, loc) /* And now, the support for symbolic debugging information. */ #ifdef DWARF2_DEBUGGING_INFO +/* .debug_str support. */ +static hashnode indirect_string_alloc PARAMS ((hash_table *)); +static int output_indirect_string PARAMS ((struct cpp_reader *, + hashnode, const PTR)); + + static void dwarf2out_init PARAMS ((const char *)); static void dwarf2out_finish PARAMS ((const char *)); static void dwarf2out_define PARAMS ((unsigned int, const char *)); -- 2.30.2