<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/include/search.h, branch stable/9</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F9</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F9'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-10-29T15:04:33Z</updated>
<entry>
<title>Add posix_tnode to &lt;search.h&gt;.</title>
<updated>2016-10-29T15:04:33Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2016-10-29T15:04:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=29ad233eabb181b468939dbea6716b972496d99e'/>
<id>urn:sha1:29ad233eabb181b468939dbea6716b972496d99e</id>
<content type='text'>
In r307227 I've refactored the binary search tree functions to use the
posix_tnode type. As this change does not apply cleanly to this version
of FreeBSD, only make the change that matters: add the definition of the
newly introduced type.

This will ease source-level compatibility going forward.
</content>
</entry>
<entry>
<title> - Remove the lsearch() and lfind() functions and their manpage from</title>
<updated>2002-10-16T14:29:23Z</updated>
<author>
<name>Robert Drehmel</name>
<email>robert@FreeBSD.org</email>
</author>
<published>2002-10-16T14:29:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6c84d0b1a5f243e4aa87fe02c82627b7d11d053e'/>
<id>urn:sha1:6c84d0b1a5f243e4aa87fe02c82627b7d11d053e</id>
<content type='text'>
   the compatibility library libcompat.
 - Add new implementations of lsearch() and lfind() which conform to
   IEEE Std 1003.1-2001 to libc.  Add a new manual page for them and
   add them to the makefile.
 - Add function prototypes for lsearch() and lfind() to the search.h
   header.
</content>
</entry>
<entry>
<title> - Remove the old insque() and remque() functions and their manual</title>
<updated>2002-10-16T14:00:46Z</updated>
<author>
<name>Robert Drehmel</name>
<email>robert@FreeBSD.org</email>
</author>
<published>2002-10-16T14:00:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e768c1be41aefcb7cf8fb19b12cf21d523dc4cdf'/>
<id>urn:sha1:e768c1be41aefcb7cf8fb19b12cf21d523dc4cdf</id>
<content type='text'>
   page from the compatibility library.
 - Add new implementations of insque() and remque() which conform to
   IEEE Std 1003.1-2001 to libc.  Add a new manual page for them and
   connect them to the build.
 - Add the prototypes of insque() and remque() to the search.h
   header.
</content>
</entry>
<entry>
<title>Fix various style(9) bugs:</title>
<updated>2002-10-03T06:31:16Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-10-03T06:31:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a23db95772699f0131b88a5a65f43fad0b6143db'/>
<id>urn:sha1:a23db95772699f0131b88a5a65f43fad0b6143db</id>
<content type='text'>
o Source ID's in wrong location.
o Space used, instead of tab, after typedef.
o Unaligned function prototype for twalk().

Other changes:
o Add missing const qualifier in tfind().
o Add comment about missing functions.
</content>
</entry>
<entry>
<title>Style: One space between "restrict" qualifier and "*".</title>
<updated>2002-09-06T11:24:06Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-09-06T11:24:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=58d38e25205c6ee5ef0796ffa2cd8e2ca6c6e7f3'/>
<id>urn:sha1:58d38e25205c6ee5ef0796ffa2cd8e2ca6c6e7f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>o Merge &lt;machine/ansi.h&gt; and &lt;machine/types.h&gt; into a new header</title>
<updated>2002-08-21T16:20:02Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-08-21T16:20:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=abbd8902334e8c6409384593b4a2c81f939b47b4'/>
<id>urn:sha1:abbd8902334e8c6409384593b4a2c81f939b47b4</id>
<content type='text'>
  called &lt;machine/_types.h&gt;.
o &lt;machine/ansi.h&gt; will continue to live so it can define MD clock
  macros, which are only MD because of gratuitous differences between
  architectures.
o Change all headers to make use of this.  This mainly involves
  changing:
    #ifdef _BSD_FOO_T_
    typedef	_BSD_FOO_T_	foo_t;
    #undef _BSD_FOO_T_
    #endif
  to:
    #ifndef _FOO_T_DECLARED
    typedef	__foo_t	foo_t;
    #define	_FOO_T_DECLARED
    #endif

Concept by:	bde
Reviewed by:	jake, obrien
</content>
</entry>
<entry>
<title> - Add the 'restrict' qualifier to match the IEEE Std 1003.1-2001</title>
<updated>2002-08-14T21:16:41Z</updated>
<author>
<name>Robert Drehmel</name>
<email>robert@FreeBSD.org</email>
</author>
<published>2002-08-14T21:16:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=840b798c83238d9477451fc3f3af180ca6249e59'/>
<id>urn:sha1:840b798c83238d9477451fc3f3af180ca6249e59</id>
<content type='text'>
   prototype of the tdelete(3) function.
 - Remove duplicated space.
 - Use an ANSI-C function definition for tdelete(3).
 - Update the manual page.
</content>
</entry>
<entry>
<title>Breath deep and take __P out of the system include files.</title>
<updated>2002-03-23T17:24:55Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2002-03-23T17:24:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bb28f3c29b4c91af1b0e79e456294bb08735648a'/>
<id>urn:sha1:bb28f3c29b4c91af1b0e79e456294bb08735648a</id>
<content type='text'>
# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.
</content>
</entry>
<entry>
<title>fix spelling errors.</title>
<updated>2000-07-07T16:52:24Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2000-07-07T16:52:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e31830e941fb5782a6237acb0d90ddf9b06b8005'/>
<id>urn:sha1:e31830e941fb5782a6237acb0d90ddf9b06b8005</id>
<content type='text'>
Pointed out by: bde
</content>
</entry>
<entry>
<title>cleanup the tsearch import.</title>
<updated>2000-07-06T20:04:34Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2000-07-06T20:04:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=55241422d698153ccf74957155c3cc88d86b60b7'/>
<id>urn:sha1:55241422d698153ccf74957155c3cc88d86b60b7</id>
<content type='text'>
remove (comment out) functions defined or depricated elsewhere:
  bsearch, lfind, lsearch, insque, remque

change hcreate to take a size_t rather than uint (essentially the same)

since hcreate/hdestroy are now in &lt;search.h&gt;, remove private search.h
in lib/libc/db/hash/

add $FreeBSD tags to hsearch.c
</content>
</entry>
</feed>
