merge from gcc

This commit is contained in:
DJ Delorie
2001-05-08 14:34:36 +00:00
parent c63e9997e6
commit 791cada5a2
3 changed files with 14 additions and 5 deletions

View File

@ -38,13 +38,14 @@ ternary_node;
already there, and replace is 0.
Otherwise, replaces if it it exists, inserts if it doesn't, and
returns the data you passed in. */
void *ternary_insert (ternary_tree *p, char *s, void *data, int replace);
PTR ternary_insert PARAMS ((ternary_tree *p, const char *s,
PTR data, int replace));
/* Delete the ternary search tree rooted at P.
Does NOT delete the data you associated with the strings. */
void ternary_cleanup (ternary_tree p);
void ternary_cleanup PARAMS ((ternary_tree p));
/* Search the ternary tree for string S, returning the data associated
with it if found. */
void *ternary_search (ternary_tree p, char *s);
PTR ternary_search PARAMS ((const ternary_node *p, const char *s));
#endif