expr.c (mostly_zero_p): Make it static.

* expr.c (mostly_zero_p): Make it static.
	* tree.h: Remove the prototype for mostly_zeros_p.

From-SVN: r90089
This commit is contained in:
Kazu Hirata 2004-11-04 23:22:30 +00:00 committed by Kazu Hirata
parent 9167e1c07f
commit e0ce77087d
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-11-04 Kazu Hirata <kazu@cs.umass.edu>
* expr.c (mostly_zero_p): Make it static.
* tree.h: Remove the prototype for mostly_zeros_p.
2004-11-04 Kazu Hirata <kazu@cs.umass.edu>
* cfgrtl.c (force_nonfallthru_and_redirect): Make it static.

View File

@ -4212,7 +4212,7 @@ count_type_elements (tree type)
/* Return 1 if EXP contains mostly (3/4) zeros. */
int
static int
mostly_zeros_p (tree exp)
{
if (TREE_CODE (exp) == CONSTRUCTOR)

View File

@ -3250,7 +3250,6 @@ extern bool initializer_zerop (tree);
extern void categorize_ctor_elements (tree, HOST_WIDE_INT *, HOST_WIDE_INT *);
extern HOST_WIDE_INT count_type_elements (tree);
extern int mostly_zeros_p (tree);
/* add_var_to_bind_expr (bind_expr, var) binds var to bind_expr. */