summaryrefslogtreecommitdiff
path: root/libnetfs/misc.h
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-03-07 21:13:08 +0000
committerMiles Bader <miles@gnu.org>1996-03-07 21:13:08 +0000
commitc75bc0811416e5aa03f47755193d848f2ad339df (patch)
treee597c40f77bddb0b694bb2542fb556fd9b1d8d42 /libnetfs/misc.h
parentea4adbb21496f8d93b72c640e70b3c3a418a383f (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