From 9959db6d6b06bbf6e5bf2b64b01641cb762276de Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Thu, 28 Jun 2001 06:27:27 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386-protos.h | 3 +-- gcc/config/i386/i386.c | 3 +-- 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 + + * 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; -- 2.30.2