diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2005-04-19 18:26:43 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2005-04-19 18:26:43 +0000 |
commit | 8766be86859c2377be11ddcc28fbb966c24033b6 (patch) | |
tree | 94e3ebdcb26d7ee52039b497fe251f42669043ec /include/ternary.h | |
parent | 2586bf38d81521841f2f743ebabd445b489c3060 (diff) | |
download | gcc-8766be86859c2377be11ddcc28fbb966c24033b6.zip gcc-8766be86859c2377be11ddcc28fbb966c24033b6.tar.gz gcc-8766be86859c2377be11ddcc28fbb966c24033b6.tar.bz2 |
hashtab.h, [...]: Don't use the PTR macro.
* hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:
Don't use the PTR macro.
* sort.h: Don't use the PARAMS macro.
From-SVN: r98416
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 |