diff --git a/src/libged/draw.cpp b/src/libged/draw.cpp index 0808317ad5..0d251d4d3c 100644 --- a/src/libged/draw.cpp +++ b/src/libged/draw.cpp @@ -866,8 +866,7 @@ tree_color(struct directory *dp, struct draw_data_t *dd) step. That mode is also supported by this subtree walk. ******************************************************************************/ - -extern "C" void +static void draw_walk_tree(struct db_full_path *path, union tree *tp, mat_t *curr_mat, void (*traverse_func) (struct db_full_path *path, mat_t *, void *), void *client_data, void *comb_inst_map) @@ -956,7 +955,6 @@ draw_walk_tree(struct db_full_path *path, union tree *tp, mat_t *curr_mat, } } - /** * This walker builds a list of db_full_path entries corresponding to * the contents of the tree under *path. It does so while assigning diff --git a/src/libged/ged_private.h b/src/libged/ged_private.h index 98745bfe2b..a79eec64e6 100644 --- a/src/libged/ged_private.h +++ b/src/libged/ged_private.h @@ -239,9 +239,7 @@ struct draw_data_t { std::map *s_size; #endif }; -GED_EXPORT void draw_walk_tree(struct db_full_path *path, union tree *tp, mat_t *curr_mat, - void (*traverse_func) (struct db_full_path *path, mat_t *, void *), - void *client_data, void *comb_inst_map); + GED_EXPORT void draw_gather_paths(struct db_full_path *path, mat_t *curr_mat, void *client_data); GED_EXPORT void vls_col_item(struct bu_vls *str, const char *cp);