<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libstand/zalloc_protos.h, branch release/11.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>- Removing some unneeded definitions of NULL(cruft related to 1970's C).</title>
<updated>2011-07-10T07:25:34+00:00</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2011-07-10T07:25:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f497fbf5e44f9fcf107b34a5b76d7d66af7baf10'/>
<id>f497fbf5e44f9fcf107b34a5b76d7d66af7baf10</id>
<content type='text'>
  In C90, NULL is guaranteed to be declared in &lt;stddef.h&gt; and also in
  &lt;string.h&gt;.  Though the correct way to define NULL in FreeBSD is to
  include &lt;sys/_null.h&gt;, other parts of libstand still require &lt;string.h&gt;
  to build; therefore, we keep &lt;string.h&gt; in stand.h and add a note about
  this;
- Removing no longer used 'Prototype' definition.  Quote from bde@:

	'Cruft related to getting incomplete struct declarations within
	prototypes forward-declared before the structs.  It doesn't mean
	"prototype" but only part of a prototype-related hack.  No longer
	used.'

- Replacing iaddr_t with uintptr_t;
- Removing use of long double to determine alignment.  Use a fixed 16 byte
  alignment instead;

Reviewed by:	bde
Obtained from:	DragonFlyBSD (partially)
MFC after:	1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  In C90, NULL is guaranteed to be declared in &lt;stddef.h&gt; and also in
  &lt;string.h&gt;.  Though the correct way to define NULL in FreeBSD is to
  include &lt;sys/_null.h&gt;, other parts of libstand still require &lt;string.h&gt;
  to build; therefore, we keep &lt;string.h&gt; in stand.h and add a note about
  this;
- Removing no longer used 'Prototype' definition.  Quote from bde@:

	'Cruft related to getting incomplete struct declarations within
	prototypes forward-declared before the structs.  It doesn't mean
	"prototype" but only part of a prototype-related hack.  No longer
	used.'

- Replacing iaddr_t with uintptr_t;
- Removing use of long double to determine alignment.  Use a fixed 16 byte
  alignment instead;

Reviewed by:	bde
Obtained from:	DragonFlyBSD (partially)
MFC after:	1 month
</pre>
</div>
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T00:22:10+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T00:22:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7f3dea244c40159a41ab22da77a434d7c5b5e85a'/>
<id>7f3dea244c40159a41ab22da77a434d7c5b5e85a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prune unused zalloc components as recommended by Matt Dillon.  Extra debugging</title>
<updated>1998-10-01T17:35:08+00:00</updated>
<author>
<name>Mike Smith</name>
<email>msmith@FreeBSD.org</email>
</author>
<published>1998-10-01T17:35:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=31a014da282db0c3e116d67a28ad522a1cf172e9'/>
<id>31a014da282db0c3e116d67a28ad522a1cf172e9</id>
<content type='text'>
code is still enabled (it's not very expensive).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
code is still enabled (it's not very expensive).
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace the old and extremely icky Mach/NetBSD allocator with a similarly</title>
<updated>1998-09-26T01:42:40+00:00</updated>
<author>
<name>Mike Smith</name>
<email>msmith@FreeBSD.org</email>
</author>
<published>1998-09-26T01:42:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=95b50c2be3e92fdea36bf33f52920bea1a87d3a5'/>
<id>95b50c2be3e92fdea36bf33f52920bea1a87d3a5</id>
<content type='text'>
compact and much better one donated by Matt Dillon.  Implement a simple
sbrk() which uses the existing setheap() api.

Remove the custom allocator from the UFS code.  It wasn't working quite
right, and it shouldn't be needed with the new allocator.

Fix a serious problem with changing the value of already-existent
environment variables.  Don't attempt to modify the supposedly-const
argument to putenv()

Fix an off-by-one sizing error in the zipfs code detected by the new
allocator.

Submitted by:	zmalloc from Matt Dillon &lt;dillon@backplane.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
compact and much better one donated by Matt Dillon.  Implement a simple
sbrk() which uses the existing setheap() api.

Remove the custom allocator from the UFS code.  It wasn't working quite
right, and it shouldn't be needed with the new allocator.

Fix a serious problem with changing the value of already-existent
environment variables.  Don't attempt to modify the supposedly-const
argument to putenv()

Fix an off-by-one sizing error in the zipfs code detected by the new
allocator.

Submitted by:	zmalloc from Matt Dillon &lt;dillon@backplane.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
