This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Remove unused prototypes.


Hi,

Attached is a patch to remove unused prototypes.

Bootstrapped on i686-pc-linux-gnu.  Committed as obvious.

Kazu Hirata

2007-06-13  Kazu Hirata  <kazu@codesourcery.com>

	* basic-block.h: Remove the prototype for
	free_basic_block_vars.
	* cfglayout.h: Remove the prototype for
	insn_locators_initialize.
	* tree.h: Remove the prototype for emit_line_note.

Index: basic-block.h
===================================================================
--- basic-block.h	(revision 125684)
+++ basic-block.h	(working copy)
@@ -477,8 +477,6 @@ extern void compute_bb_for_insn (void);
 extern unsigned int free_bb_for_insn (void);
 extern void update_bb_for_insn (basic_block);
 
-extern void free_basic_block_vars (void);
-
 extern void insert_insn_on_edge (rtx, edge);
 basic_block split_edge_and_insert (edge, rtx);
 
Index: cfglayout.h
===================================================================
--- cfglayout.h	(revision 125684)
+++ cfglayout.h	(working copy)
@@ -28,7 +28,6 @@ extern GTY(()) rtx cfg_layout_function_h
 
 extern void cfg_layout_initialize (unsigned int);
 extern void cfg_layout_finalize (void);
-extern unsigned int insn_locators_initialize (void);
 extern void reemit_insn_block_notes (void);
 extern bool can_copy_bbs_p (basic_block *, unsigned);
 extern void copy_bbs (basic_block *, unsigned, basic_block *,
Index: tree.h
===================================================================
--- tree.h	(revision 125684)
+++ tree.h	(working copy)
@@ -4659,9 +4659,6 @@ extern bool debug_find_tree (tree, tree)
 extern tree unsave_expr_now (tree);
 extern tree build_duplicate_type (tree);
 
-/* In emit-rtl.c */
-extern rtx emit_line_note (location_t);
-
 /* In calls.c */
 
 /* Nonzero if this is a call to a function whose return value depends


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]