rbtree: Make debug functions private

They're not used elsewhere
This commit is contained in:
Benjamin Otte 2011-11-21 16:59:37 +01:00
parent 79bbce5577
commit af2ebe638c
2 changed files with 7 additions and 9 deletions

View File

@ -36,6 +36,11 @@ static inline void _fixup_validation (GtkRBTree *tree,
GtkRBNode *node);
static inline void _fixup_total_count (GtkRBTree *tree,
GtkRBNode *node);
#ifdef G_ENABLE_DEBUG
static void _gtk_rbtree_test (const gchar *where,
GtkRBTree *tree);
static void _gtk_rbtree_debug_spew (GtkRBTree *tree);
#endif
@ -1706,7 +1711,7 @@ _gtk_rbtree_test_structure (GtkRBTree *tree)
_gtk_rbtree_test_structure_helper (tree, tree->root);
}
void
static void
_gtk_rbtree_test (const gchar *where,
GtkRBTree *tree)
{
@ -1769,7 +1774,7 @@ _gtk_rbtree_debug_spew_helper (GtkRBTree *tree,
}
}
void
static void
_gtk_rbtree_debug_spew (GtkRBTree *tree)
{
g_return_if_fail (tree != NULL);

View File

@ -163,13 +163,6 @@ void _gtk_rbtree_prev_full (GtkRBTree *tree,
gint _gtk_rbtree_get_depth (GtkRBTree *tree);
/* This func checks the integrity of the tree */
#ifdef G_ENABLE_DEBUG
void _gtk_rbtree_test (const gchar *where,
GtkRBTree *tree);
void _gtk_rbtree_debug_spew (GtkRBTree *tree);
#endif
G_END_DECLS