diff options
author | Miles Bader <miles@gnu.org> | 1996-03-07 21:13:08 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-03-07 21:13:08 +0000 |
commit | c75bc0811416e5aa03f47755193d848f2ad339df (patch) | |
tree | e597c40f77bddb0b694bb2542fb556fd9b1d8d42 /libnetfs/misc.h | |
parent | ea4adbb21496f8d93b72c640e70b3c3a418a383f (diff) |
(realloc):
Use LOG2_MIN_SIZE.
Don't bother allocating a new block if the new size request fits in the old
one and doesn't waste any space.
Only free the old block if we successfully got a new one.
(LOG2_MIN_SIZE): New macro.
Diffstat (limited to 'libnetfs/misc.h')
0 files changed, 0 insertions, 0 deletions