diff options
Diffstat (limited to 'misc/tsearch.c')
-rw-r--r-- | misc/tsearch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/tsearch.c b/misc/tsearch.c index e372a9e971..c5af3ec689 100644 --- a/misc/tsearch.c +++ b/misc/tsearch.c @@ -593,6 +593,7 @@ weak_alias (__tdelete, tdelete) ROOT is the root of the tree to be walked, ACTION the function to be called at each node. LEVEL is the level of ROOT in the whole tree. */ static void +internal_function trecurse (const void *vroot, __action_fn_t action, int level) { node root = (node ) vroot; @@ -632,6 +633,7 @@ weak_alias (__twalk, twalk) /* The standardized functions miss an important functionality: the tree cannot be removed easily. We provide a function to do this. */ static void +internal_function tdestroy_recurse (node root, __free_fn_t freefct) { if (root->left != NULL) |