From 5b00311775d40eb10a7422aae5759a0c3c2afaa5 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Tue, 26 Aug 2014 22:57:45 +0000 Subject: [PATCH] dwarf2out.h (dwarf2out_decl): Remove prototype. * dwarf2out.h (dwarf2out_decl): Remove prototype. * dwarf2out.c (dwarf2out_decl): Make static. From-SVN: r214554 --- gcc/ChangeLog | 5 +++++ gcc/dwarf2out.c | 3 ++- gcc/dwarf2out.h | 1 - 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3601836..96fc41d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-08-26 Aldy Hernandez + + * dwarf2out.h (dwarf2out_decl): Remove prototype. + * dwarf2out.c (dwarf2out_decl): Make static. + 2014-08-26 Joel Sherrill * doc/invoke.texi: -fno-cxa-atexit should be -fno-use-cxa-atexit. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 1a9e50a..fb01732 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -102,6 +102,7 @@ along with GCC; see the file COPYING3. If not see static void dwarf2out_source_line (unsigned int, const char *, int, bool); static rtx_insn *last_var_location_insn; static rtx_insn *cached_next_real_insn; +static void dwarf2out_decl (tree); #ifdef VMS_DEBUGGING_INFO int vms_file_stats_name (const char *, long long *, long *, char *, int *); @@ -20881,7 +20882,7 @@ gen_namelist_decl (tree name, dw_die_ref scope_die, tree item_decls) /* Write the debugging output for DECL. */ -void +static void dwarf2out_decl (tree decl) { dw_die_ref context_die = comp_unit_die (); diff --git a/gcc/dwarf2out.h b/gcc/dwarf2out.h index bac5077..7843e0a 100644 --- a/gcc/dwarf2out.h +++ b/gcc/dwarf2out.h @@ -249,7 +249,6 @@ extern enum dw_cfi_oprnd_type dw_cfi_oprnd2_desc extern void output_cfi_directive (FILE *f, struct dw_cfi_node *cfi); -extern void dwarf2out_decl (tree); extern void dwarf2out_emit_cfi (dw_cfi_ref cfi); extern void debug_dwarf (void); -- 2.7.4