diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2014-08-26 22:57:45 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2014-08-26 22:57:45 +0000 |
commit | 5b00311775d40eb10a7422aae5759a0c3c2afaa5 (patch) | |
tree | 3b5da95a9015bda878ad1c2e5f475ff73972e6ed /gcc | |
parent | eaf1fcda2a3885692cc190e0837ab63f5db99f14 (diff) | |
download | gcc-5b00311775d40eb10a7422aae5759a0c3c2afaa5.zip gcc-5b00311775d40eb10a7422aae5759a0c3c2afaa5.tar.gz gcc-5b00311775d40eb10a7422aae5759a0c3c2afaa5.tar.bz2 |
dwarf2out.h (dwarf2out_decl): Remove prototype.
* dwarf2out.h (dwarf2out_decl): Remove prototype.
* dwarf2out.c (dwarf2out_decl): Make static.
From-SVN: r214554
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 3 | ||||
-rw-r--r-- | 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 <aldyh@redhat.com> + + * dwarf2out.h (dwarf2out_decl): Remove prototype. + * dwarf2out.c (dwarf2out_decl): Make static. + 2014-08-26 Joel Sherrill <joel.sherrill@oarcorp.com> * 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); |