summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-28 06:27:27 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-28 06:27:27 +0000
commit836658cfa1e97f1d1347e8a3f869e386aadeaa35 (patch)
tree285142d76ae8fbc8d40606ce9cf8ec3301bbff1d
parentfc5104b7dc45727a0378b1218af621a1dd206861 (diff)
downloadppe42-gcc-836658cfa1e97f1d1347e8a3f869e386aadeaa35.tar.gz
ppe42-gcc-836658cfa1e97f1d1347e8a3f869e386aadeaa35.zip
* i386/i386.c (ix86_valid_type_attribute_p): Give external
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386-protos.h3
-rw-r--r--gcc/config/i386/i386.c3
3 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 597a53682f2..8ffb1a659b1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/i386/i386-protos.h b/gcc/config/i386/i386-protos.h
index 88706c86865..af1b345b293 100644
--- a/gcc/config/i386/i386-protos.h
+++ b/gcc/config/i386/i386-protos.h
@@ -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
-
-
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 21ceedc3b45..ef5b91534fb 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -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));
/* 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;
OpenPOWER on IntegriCloud