summaryrefslogtreecommitdiff
path: root/libiberty/splay-tree.c
Commit message (Collapse)AuthorAgeFilesLines
* merge from gccDJ Delorie2003-05-071-2/+2
|
* merge from gccDJ Delorie2002-09-201-1/+1
|
* merge from gccDJ Delorie2002-09-121-2/+2
|
* * splay-tree.c (splay_tree_xmalloc_allocate,Jim Blandy2002-03-071-2/+6
| | | | | splay_tree_xmalloc_deallocate): Use K&R-style definitions, not prototyped definitions. Mark `data' arguments as unused.
* include:Jim Blandy2002-02-211-6/+48
| | | | | | | | | | | | | | | | | | | | | Allow the user to specify functions for allocating memory for splay tree roots and nodes. * splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn): New types. (splay_tree): New fields: `allocate', `deallocate', and `allocate_data'. (splay_tree_new_with_allocator): New function declaration. libiberty: * splay-tree.c (splay_tree_xmalloc_allocate, splay_tree_xmalloc_deallocate): New functions. (splay_tree_new): Call splay_tree_new_with_allocator, passing the above functions and a dummy data pointer. (splay_tree_new_with_allocator): New function. (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert, splay_tree_remove): Use the splay tree's allocation and deallocation functions.
* merge from gccDJ Delorie2001-05-071-1/+35
|
* merge from gcc repositoryDJ Delorie2000-10-121-3/+69
|
* * splay-tree.c: #include <stdio.h>.DJ Delorie2000-09-151-0/+2
|
* * splay-tree.c (splay_tree_remove): New.Richard Henderson2000-04-061-0/+41
|
* merge with libiberty from egcs 2000-02-22Ian Lance Taylor2000-02-221-4/+6
|
* * splay-tree.c (splay_tree_insert): Add initialization to avoidIan Lance Taylor1999-07-111-2/+2
| | | | warning.
* 19990502 sourceware importbinu_ss_19990502Richard Henderson1999-05-031-0/+368