From: Aldy Hernandez Date: Tue, 26 Aug 2014 22:57:45 +0000 (+0000) Subject: dwarf2out.h (dwarf2out_decl): Remove prototype. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b00311775d40eb10a7422aae5759a0c3c2afaa5;p=gcc.git dwarf2out.h (dwarf2out_decl): Remove prototype. * dwarf2out.h (dwarf2out_decl): Remove prototype. * dwarf2out.c (dwarf2out_decl): Make static. From-SVN: r214554 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 360183639f6..96fc41dbd39 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 1a9e50a997b..fb017326b65 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 bac50774e2c..7843e0a7eac 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);