OSDN Git Service

* stmt.c (expand_asm, expand_asm_operands): Make them static.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Nov 2004 23:28:29 +0000 (23:28 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Nov 2004 23:28:29 +0000 (23:28 +0000)
* tree.h: Remove the prototypes for expand_asm and
expand_asm_operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90092 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 3173f0b..bfdf1cc 100644 (file)
@@ -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.
 
index 08dabde..d7f37a3 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 023811a..0611c28 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);