dwarf2out.h (dwarf2out_decl): Remove prototype.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 26 Aug 2014 22:57:45 +0000 (22:57 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 26 Aug 2014 22:57:45 +0000 (22:57 +0000)
* dwarf2out.h (dwarf2out_decl): Remove prototype.
* dwarf2out.c (dwarf2out_decl): Make static.

From-SVN: r214554

gcc/ChangeLog
gcc/dwarf2out.c
gcc/dwarf2out.h

index 3601836..96fc41d 100644 (file)
@@ -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.
index 1a9e50a..fb01732 100644 (file)
@@ -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 ();
index bac5077..7843e0a 100644 (file)
@@ -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);