diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-07-04 02:29:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-07-04 02:29:43 +0000 |
commit | 003ecf68bbb0444adf5aee14613fd77422a5b07c (patch) | |
tree | ff6a518065974721889db1b12f3012728520fbd5 /packet-smb-mailslot.h | |
parent | 456c6cab6646e37a028c7a8ec1bae3a8b6f07f5e (diff) |
Instead of using pointer casts in the slab allocator stuff, add a
"SLAB_ITEM_TYPE_DEFINE()" macro to define a union of the type of object
for the slab and a pointer to an object of that union type, and use that
type for items on the slab allocator free lists; that *should* avoid
having the compiler think two pointers to an item being added to or
removed from the free list don't point to the same object just because
they have different types.
svn path=/trunk/; revision=11306
Diffstat (limited to 'packet-smb-mailslot.h')
0 files changed, 0 insertions, 0 deletions