christos
|
6030f04a15
|
amend the new destroy function to take function pointers.
|
2014-07-20 20:17:21 +00:00 |
christos
|
842ee049dd
|
Our hdestroy implementation was non-conformant because it freed the key of
each entry. Add a new function hdestroy1 that allows the user to control
what gets freed. Pointed out by Pedro Giffuni at FreeBSD.
|
2014-07-20 13:34:17 +00:00 |
joerg
|
89a508fbb5
|
Systematically include sys/featuretest.h when _NETBSD_SOURCE is used.
Some are redundant, but make verification with grep much easier.
|
2013-04-27 21:35:24 +00:00 |
christos
|
711f328e6e
|
add re-entrant versions of the hash api based on the GNU extensions.
|
2011-09-14 23:34:26 +00:00 |
drochner
|
ecef4b3d3f
|
The source array of lsearch() shouldn't be "const".
Being here, cleanup the const castaway stuff.
|
2005-07-06 15:47:15 +00:00 |
kleink
|
98061f1fca
|
* Add restrict qualifiers to tdelete() function arguments.
* Const-poison tfind()'s rootp argument, per SVID Issue 1 and later.
|
2005-03-22 20:13:42 +00:00 |
perry
|
19b7469a00
|
de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
|
2005-02-03 04:39:32 +00:00 |
salo
|
6ac55ad469
|
netbsd.org->NetBSD.org
|
2003-07-26 17:35:00 +00:00 |
christos
|
0b49c77063
|
deal with bsearch duplicate declaration.
|
2000-12-20 18:35:21 +00:00 |
simonb
|
3f935d014c
|
Remove 'extern' from function declarations.
|
2000-06-13 01:21:52 +00:00 |
christos
|
f4287ac1d3
|
Add internal structure used by the t* routines, protected via an ifdef
|
1999-02-22 10:34:28 +00:00 |
kleink
|
276331d152
|
Per XSI5, make ENTRY.data a typeless pointer.
|
1999-02-16 18:23:00 +00:00 |
kleink
|
983e1024bf
|
Per XSI5, let hcreate() take a size_t argument.
|
1999-02-16 18:12:24 +00:00 |
jtc
|
5ca7ef7788
|
Added declarations for hsearch(), hdestroy(), and hcreate().
|
1995-08-08 21:14:45 +00:00 |
jtc
|
de3db4cb57
|
add prototypes for tsearch, etc. functions
|
1995-07-30 22:10:45 +00:00 |
jtc
|
33b1cf8691
|
Winning Strategies has placed this code into the Public Domain.
|
1995-04-29 06:49:13 +00:00 |
cgd
|
4d2cbfce0a
|
new RCS ID format.
|
1994-10-26 00:55:40 +00:00 |
cgd
|
2922de7461
|
add _BSD's to ansi types
|
1994-05-21 09:41:59 +00:00 |
jtc
|
fc1d8f3bac
|
Fix spelling error in Copyright notice
|
1994-01-29 01:54:01 +00:00 |
jtc
|
a9117e0f4f
|
Added prototypes for lfind() and lsearch().
|
1993-10-22 17:40:15 +00:00 |
jtc
|
d822defc50
|
Define size_t if it hasn't been allready.
|
1993-10-21 21:03:33 +00:00 |
jtc
|
e6bcfeaf2a
|
Added X/Open 1170's <search.h> header --- it only declares bsearch, insque,
and remque at this time. The remainder of the functions will be added as
time allows.
|
1993-10-21 20:53:13 +00:00 |