1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00
Commit Graph

10 Commits

Author SHA1 Message Date
matthew
177a742757 Change lsearch()'s "base" argument to require a non-const pointer to
align with POSIX and other systems.

Pointed out by Elliott Hughes on tech
ok deraadt
2014-07-18 04:16:09 +00:00
guenther
caad557685 bsearch() doesn't belong here (it's in <stdlib.h>)
Add __restrict bits for tdelete()

ok deraadt@
2012-07-10 11:44:55 +00:00
millert
c916d9484c Adapt things to use __type_t instead of _BSD_TYPE_T_
Add new sys/_types.h header
Include machine/_types.h or sys/_types.h where applicable
2006-01-06 18:53:04 +00:00
millert
1764819325 POSIX says "data" is void *, not char *. Also remove extern from prototypes.
deraadt@ OK
2004-07-08 21:15:11 +00:00
deraadt
c7e656a3e7 hsearch API/ABI u_int -> size_t -> crank majors; ok millert 2004-06-24 16:14:40 +00:00
millert
f3c3a9c6df Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree) 2002-02-17 19:42:18 +00:00
millert
c72b5b24e1 Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. 2002-02-16 21:27:05 +00:00
niklas
5ea2d675e0 Well, as we are heading for a release people are encouraged to rebuild their
entire trees for testing anyway, I might as well do this intrusive touching
of include files now.  Added openBSD tags.
1997-09-21 10:45:23 +00:00
millert
9a4e9f66d3 Fix decl for tfind(3) 1997-06-14 02:12:43 +00:00
deraadt
df930be708 initial import of NetBSD tree 1995-10-18 08:37:01 +00:00