summaryrefslogtreecommitdiff
path: root/usr.bin/make/targ.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-10-05 21:59:01 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-10-05 21:59:01 +0000
commit586b5707cecbb5ef0358c451e69ab50979cdab68 (patch)
tree813e992e12b978877a68771849b37f1881177335 /usr.bin/make/targ.c
parent691c6e5f6888c196725d696cc50250bf3d382761 (diff)
Kill unused functions Buf_UngetByte, Buf_UngetBytes, Buf_GetByte, Buf_GetBytes.
Replace the buffer reallocation mechanism with something much more efficient. Originally from NetBSD. Tweaks to the allocator to first loop finding the correct size, then reallocate; change the heuristic to double the size until we're over what's needed by some fixed amount.
Diffstat (limited to 'usr.bin/make/targ.c')
0 files changed, 0 insertions, 0 deletions