Make parallelize_loops static
2015-03-18 Tom de Vries <tom@codesourcery.com>
* tree-parloops.c (parallelize_loops): Make static.
* tree-parloops.h (parallelize_loops): Remove extern declaration.
---
gcc/tree-parloops.c | 2 +-
gcc/tree-parloops.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
@@ -2153,7 +2153,7 @@ try_create_reduction_list (loop_p loop,
primitives. Returns true if some loop was parallelized, false
otherwise. */
-bool
+static bool
parallelize_loops (void)
{
unsigned n_threads = flag_tree_parallelize_loops;
@@ -21,6 +21,5 @@ along with GCC; see the file COPYING3. If not see
#define GCC_TREE_PARLOOPS_H
extern bool parallelized_function_p (tree);
-extern bool parallelize_loops (void);
#endif /* GCC_TREE_PARLOOPS_H */
--
1.9.1