From: Kazu Hirata Date: Thu, 4 Nov 2004 23:22:30 +0000 (+0000) Subject: expr.c (mostly_zero_p): Make it static. X-Git-Tag: releases/gcc-4.0.0~3418 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e0ce77087ddb36d0f29bdc43b840b7dbdec6d478;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 175035858c40..fba5fde88c34 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-04 Kazu Hirata + + * expr.c (mostly_zero_p): Make it static. + * tree.h: Remove the prototype for mostly_zeros_p. + 2004-11-04 Kazu Hirata * cfgrtl.c (force_nonfallthru_and_redirect): Make it static. diff --git a/gcc/expr.c b/gcc/expr.c index bc19bc1cc17a..18d3ff6edec0 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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) diff --git a/gcc/tree.h b/gcc/tree.h index 7a0db8186c1e..023811a23cbb 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -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. */