X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/a7a37c4adf9308ecbf2cb5b646b63e0e0efd2d44..8c6d948bbb87df8f1ffb49d3af1419b84ea34a0e:/sub.c diff --git a/sub.c b/sub.c index b0d1895..bb264a2 100644 --- a/sub.c +++ b/sub.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: sub.c,v 1.3 1999/05/06 19:51:35 mdw Exp $ + * $Id: sub.c,v 1.4 1999/05/13 22:48:55 mdw Exp $ * * Allocation of known-size blocks * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: sub.c,v $ + * Revision 1.4 1999/05/13 22:48:55 mdw + * Change `-ise' to `-ize' throughout. + * * Revision 1.3 1999/05/06 19:51:35 mdw * Reformatted the LGPL notice a little bit. * @@ -44,7 +47,7 @@ /*----- The big idea ------------------------------------------------------* * * This file provides an extra layer over @malloc@. It provides fast - * turnover for small blocks, and tries to minimise the per-block overhead. + * turnover for small blocks, and tries to minimize the per-block overhead. * * To do its job, @alloc@ must place an extra restriction on you: you must * know the size of a block when you free it. Usually you'll have this @@ -212,14 +215,14 @@ void sub_free(void *p, size_t s) * * Returns: --- * - * Use: Initialises the magic allocator. + * Use: Initializes the magic allocator. */ void sub_init(void) { int i; - /* --- Initialise the sizes bins --- */ + /* --- Initialize the sizes bins --- */ for (i = 1; i < SUB_BINS; i++) { sub__sizes[i] = ((SUB_CHUNK + SUB_BINSZ(i) - 1) /