]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
expr.c (mostly_zero_p): Make it static.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 4 Nov 2004 23:22:30 +0000 (23:22 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 4 Nov 2004 23:22:30 +0000 (23:22 +0000)
* expr.c (mostly_zero_p): Make it static.
* tree.h: Remove the prototype for mostly_zeros_p.

From-SVN: r90089

gcc/ChangeLog
gcc/expr.c
gcc/tree.h

index 175035858c4058874df80f5eec5b785e552a59f7..fba5fde88c347d5a16ded79d33e5c84f294be234 100644 (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.
index bc19bc1cc17abb6a8062a80f494d523d799e6e31..18d3ff6edec0ebfe36944c32642f7fc21b7fe09a 100644 (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)
index 7a0db8186c1e237169e292e6a7fff60f4cba794a..023811a23cbbadb26ee56fcf390eb95f4feede3a 100644 (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.  */