diff options
author | Neil Booth <neil@cat.daikokuya.demon.co.uk> | 2001-06-28 06:27:27 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-06-28 06:27:27 +0000 |
commit | 9959db6d6b06bbf6e5bf2b64b01641cb762276de (patch) | |
tree | 285142d76ae8fbc8d40606ce9cf8ec3301bbff1d | |
parent | d920e8259249b777d6230b0b4dacfb16b074f954 (diff) | |
download | gcc-9959db6d6b06bbf6e5bf2b64b01641cb762276de.zip gcc-9959db6d6b06bbf6e5bf2b64b01641cb762276de.tar.gz gcc-9959db6d6b06bbf6e5bf2b64b01641cb762276de.tar.bz2 |
i386.c (ix86_valid_type_attribute_p): Give external linkage, move declaration to...
* i386/i386.c (ix86_valid_type_attribute_p): Give external
linkage, move declaration to...
* i386/i386-protos.h: ...here.
From-SVN: r43629
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/i386-protos.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 3 |
3 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 597a536..8ffb1a6 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 88706c86..af1b345 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 21ceedc..ef5b915 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; |