aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-04 23:28:29 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-04 23:28:29 +0000
commitbac6bfc5fd765702dc6d0b989b7b5015f8427f83 (patch)
tree78f19f097dcfbcff933046b48d679797fdee3f95 /gcc
parent73dcf3b5bb759d2943170d88823552e638313140 (diff)
downloadgcc-bac6bfc5fd765702dc6d0b989b7b5015f8427f83.zip
gcc-bac6bfc5fd765702dc6d0b989b7b5015f8427f83.tar.gz
gcc-bac6bfc5fd765702dc6d0b989b7b5015f8427f83.tar.bz2
stmt.c (expand_asm, [...]): Make them static.
* stmt.c (expand_asm, expand_asm_operands): Make them static. * tree.h: Remove the prototypes for expand_asm and expand_asm_operands. From-SVN: r90092
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/stmt.c4
-rw-r--r--gcc/tree.h2
3 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3173f0b..bfdf1cc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2004-11-04 Kazu Hirata <kazu@cs.umass.edu>
+ * stmt.c (expand_asm, expand_asm_operands): Make them static.
+ * tree.h: Remove the prototypes for expand_asm and
+ expand_asm_operands.
+
+2004-11-04 Kazu Hirata <kazu@cs.umass.edu>
+
* passes.c (rest_of_compilation): Make it static.
* toplev.h: Remove the prototype for rest_of_compilation.
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 08dabde..d7f37a3 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -260,7 +260,7 @@ n_occurrences (int c, const char *s)
or an ADDR_EXPR containing a STRING_CST. VOL nonzero means the
insn is volatile; don't optimize it. */
-void
+static void
expand_asm (tree string, int vol)
{
rtx body;
@@ -611,7 +611,7 @@ decl_conflicts_with_clobbers_p (tree decl, const HARD_REG_SET clobbered_regs)
VOL nonzero means the insn is volatile; don't optimize it. */
-void
+static void
expand_asm_operands (tree string, tree outputs, tree inputs,
tree clobbers, int vol, location_t locus)
{
diff --git a/gcc/tree.h b/gcc/tree.h
index 023811a..0611c28 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -3466,7 +3466,6 @@ extern void expand_expr_stmt_value (tree, int, int);
extern int warn_if_unused_value (tree, location_t);
extern void expand_label (tree);
extern void expand_goto (tree);
-extern void expand_asm (tree, int);
extern rtx expand_stack_save (void);
extern void expand_stack_restore (tree);
@@ -3735,7 +3734,6 @@ extern bool parse_output_constraint (const char **, int, int, int,
bool *, bool *, bool *);
extern bool parse_input_constraint (const char **, int, int, int, int,
const char * const *, bool *, bool *);
-extern void expand_asm_operands (tree, tree, tree, tree, int, location_t);
extern void expand_asm_expr (tree);
extern tree resolve_asm_operand_names (tree, tree, tree);
extern void expand_case (tree);