aboutsummaryrefslogtreecommitdiff
path: root/libiberty/splay-tree.c
AgeCommit message (Collapse)AuthorFilesLines
2008-01-19merge from gccDJ Delorie1-2/+2
2005-11-07merge from gccDJ Delorie1-111/+80
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton1-2/+2
2005-03-28merge from gccDJ Delorie1-78/+35
2004-12-07merge from gccDJ Delorie1-7/+48
2003-05-07merge from gccDJ Delorie1-2/+2
2002-09-20merge from gccDJ Delorie1-1/+1
2002-09-12merge from gccDJ Delorie1-2/+2
2002-03-07* splay-tree.c (splay_tree_xmalloc_allocate,Jim Blandy1-2/+6
splay_tree_xmalloc_deallocate): Use K&R-style definitions, not prototyped definitions. Mark `data' arguments as unused.
2002-02-21include:Jim Blandy1-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.
2001-05-07merge from gccDJ Delorie1-1/+35
2000-10-12merge from gcc repositoryDJ Delorie1-3/+69
2000-09-15* splay-tree.c: #include <stdio.h>.DJ Delorie1-0/+2
2000-04-06 * splay-tree.c (splay_tree_remove): New.Richard Henderson1-0/+41
2000-02-22merge with libiberty from egcs 2000-02-22Ian Lance Taylor1-4/+6
1999-07-11 * splay-tree.c (splay_tree_insert): Add initialization to avoidIan Lance Taylor1-2/+2
warning.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+368