aboutsummaryrefslogtreecommitdiff
path: root/include/ternary.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-05-08 14:35:18 +0000
committerDJ Delorie <dj@redhat.com>2001-05-08 14:35:18 +0000
commit457161bf174a1079e05270c6d8ef5d5238c74ab4 (patch)
tree12e38a5b1a6a44cb3489e62c38b70a59f27909c2 /include/ternary.h
parent5c65dbc1ca90fc1851e812dfcfbc186ca4a8915f (diff)
downloadgdb-457161bf174a1079e05270c6d8ef5d5238c74ab4.zip
gdb-457161bf174a1079e05270c6d8ef5d5238c74ab4.tar.gz
gdb-457161bf174a1079e05270c6d8ef5d5238c74ab4.tar.bz2
merge from gcc
Diffstat (limited to 'include/ternary.h')
-rw-r--r--include/ternary.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/ternary.h b/include/ternary.h
index 2e0c828..40d442e 100644
--- a/include/ternary.h
+++ b/include/ternary.h
@@ -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