OSDN Git Service

* i386/i386.c (ix86_valid_type_attribute_p): Give external
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jun 2001 06:27:27 +0000 (06:27 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jun 2001 06:27:27 +0000 (06:27 +0000)
linkage, move declaration to...
* i386/i386-protos.h: ...here.

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

gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c

index 597a536..8ffb1a6 100644 (file)
@@ -1,3 +1,9 @@
+2001-06-28  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
+
+       * i386/i386.c (ix86_valid_type_attribute_p): Give external
+       linkage, move declaration to...
+       * i386/i386-protos.h: ...here.
+
 2001-06-27  H.J. Lu  (hjl@gnu.org)
 
        * build-make (CC): Removed.
index 88706c8..af1b345 100644 (file)
@@ -175,6 +175,5 @@ extern int ix86_return_pops_args PARAMS ((tree, tree, int));
 extern int ix86_data_alignment PARAMS ((tree, int));
 extern int ix86_local_alignment PARAMS ((tree, int));
 extern int ix86_constant_alignment PARAMS ((tree, int));
+extern int ix86_valid_type_attribute_p PARAMS ((tree, tree, tree, tree));
 #endif
-
-
index 21ceedc..ef5b915 100644 (file)
@@ -607,7 +607,6 @@ static int ix86_fp_comparison_sahf_cost PARAMS ((enum rtx_code code));
 static int ix86_fp_comparison_cost PARAMS ((enum rtx_code code));
 static int ix86_save_reg PARAMS ((int, int));
 static void ix86_compute_frame_layout PARAMS ((struct ix86_frame *));
-static int ix86_valid_type_attribute_p PARAMS ((tree, tree, tree, tree));
 \f
 /* Initialize the GCC target structure.  */
 #ifdef TARGET_DLLIMPORT_DECL_ATTRIBUTES
@@ -877,7 +876,7 @@ optimization_options (level, size)
    attribute for TYPE.  The attributes in ATTRIBUTES have previously been
    assigned to TYPE.  */
 
-static int
+int
 ix86_valid_type_attribute_p (type, attributes, identifier, args)
      tree type;
      tree attributes ATTRIBUTE_UNUSED;