Browse Source

There is no need to export starpu_data_create_children anymore.

Cédric Augonnet 15 years ago
parent
commit
5777024385
2 changed files with 3 additions and 3 deletions
  1. 0 2
      include/starpu_data_filters.h
  2. 3 1
      src/datawizard/filters.c

+ 0 - 2
include/starpu_data_filters.h

@@ -38,8 +38,6 @@ typedef struct starpu_filter_t {
 void starpu_data_partition(starpu_data_handle initial_handle, starpu_filter *f);
 void starpu_data_unpartition(starpu_data_handle root_data, uint32_t gathering_node);
 
-void starpu_data_create_children(starpu_data_handle handle, unsigned nchildren, starpu_filter *f);
-
 starpu_data_handle starpu_data_get_child(starpu_data_handle handle, unsigned i);
 
 /* unsigned list */

+ 3 - 1
src/datawizard/filters.c

@@ -17,6 +17,8 @@
 #include <datawizard/filters.h>
 #include <datawizard/footprint.h>
 
+static void starpu_data_create_children(starpu_data_handle handle, unsigned nchildren, starpu_filter *f);
+
 /*
  * This function applies a starpu_filter on all the elements of a partition
  */
@@ -242,7 +244,7 @@ void starpu_data_unpartition(starpu_data_handle root_handle, uint32_t gathering_
 }
 
 /* each child may have his own interface type */
-void starpu_data_create_children(starpu_data_handle handle, unsigned nchildren, starpu_filter *f)
+static void starpu_data_create_children(starpu_data_handle handle, unsigned nchildren, starpu_filter *f)
 {
 	handle->children = calloc(nchildren, sizeof(struct starpu_data_state_t));
 	STARPU_ASSERT(handle->children);