]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
stmt.c (expand_asm, [...]): Make them static.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 4 Nov 2004 23:28:29 +0000 (23:28 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 4 Nov 2004 23:28:29 +0000 (23:28 +0000)
* 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

gcc/ChangeLog
gcc/stmt.c
gcc/tree.h

index 3173f0b2f2ae7d12a7cfd7d170c164cfaf8c8ba2..bfdf1cc39bd8473f7934dfbc54a2d61fbd3664df 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 08dabdef1cfee968da60c5651720743cf5d34d42..d7f37a30f7b6cb83c0473d82068611c267aaeaed 100644 (file)
@@ -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)
 {
index 023811a23cbbadb26ee56fcf390eb95f4feede3a..0611c2809df9e95dd97cf1056a88df5712198740 100644 (file)
@@ -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);