[patch] cfglayout.c: Make choose_inner_scope static.
Kazu Hirata
kazu@cs.umass.edu
Thu Nov 11 21:53:00 GMT 2004
Hi,
Bootstrapped on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
2004-11-11 Kazu Hirata <kazu@cs.umass.edu>
* cfglayout.c (choose_inner_scope): Make it static.
* rtl.h: Remove the corresponding prototype.
Index: cfglayout.c
===================================================================
RCS file: /home/kazu/nobackup/gcc-cvs/gcc/gcc/cfglayout.c,v
retrieving revision 1.75
diff -u -d -p -r1.75 cfglayout.c
--- cfglayout.c 28 Sep 2004 07:59:42 -0000 1.75
+++ cfglayout.c 11 Nov 2004 18:23:44 -0000
@@ -347,7 +347,7 @@ set_block_levels (tree block, int level)
}
/* Return sope resulting from combination of S1 and S2. */
-tree
+static tree
choose_inner_scope (tree s1, tree s2)
{
if (!s1)
Index: rtl.h
===================================================================
RCS file: /home/kazu/nobackup/gcc-cvs/gcc/gcc/rtl.h,v
retrieving revision 1.520
diff -u -d -p -r1.520 rtl.h
--- rtl.h 9 Nov 2004 17:46:06 -0000 1.520
+++ rtl.h 11 Nov 2004 18:23:52 -0000
@@ -1507,7 +1507,6 @@ extern rtx next_cc0_user (rtx);
extern rtx prev_cc0_setter (rtx);
/* In cfglayout.c */
-extern tree choose_inner_scope (tree, tree);
extern int insn_line (rtx);
extern const char * insn_file (rtx);
extern int locator_line (int);
More information about the Gcc-patches
mailing list