diff options
author | DJ Delorie <dj@redhat.com> | 2005-04-19 19:09:30 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-04-19 19:09:30 +0000 |
commit | a288642de0bfb10e98697ba33f51de1b1b0a0b1d (patch) | |
tree | 637ffb1ec3a06efcb5133bc56c2983fe1d18043a /include/ternary.h | |
parent | a008ac0314fe9444c27a8e1a26d36e3ed860529d (diff) | |
download | gdb-a288642de0bfb10e98697ba33f51de1b1b0a0b1d.zip gdb-a288642de0bfb10e98697ba33f51de1b1b0a0b1d.tar.gz gdb-a288642de0bfb10e98697ba33f51de1b1b0a0b1d.tar.bz2 |
merge from gcc
Diffstat (limited to 'include/ternary.h')
-rw-r--r-- | include/ternary.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ternary.h b/include/ternary.h index c8de76a..b346ac8 100644 --- a/include/ternary.h +++ b/include/ternary.h @@ -38,8 +38,8 @@ 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. */ -PTR ternary_insert (ternary_tree *p, const char *s, - PTR data, int replace); +void *ternary_insert (ternary_tree *p, const char *s, + void *data, int replace); /* Delete the ternary search tree rooted at P. Does NOT delete the data you associated with the strings. */ @@ -47,5 +47,5 @@ void ternary_cleanup (ternary_tree p); /* Search the ternary tree for string S, returning the data associated with it if found. */ -PTR ternary_search (const ternary_node *p, const char *s); +void *ternary_search (const ternary_node *p, const char *s); #endif |