summaryrefslogtreecommitdiff
path: root/nalloc.c
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2018-03-26 18:20:39 +0100
committerToby Goodwin <toby@paccrat.org>2018-03-26 18:20:39 +0100
commit969af168ea450bf79f800da620efefa91ed1f174 (patch)
tree7529bca2579f102d23d4e3a000b6ec54312cf2d4 /nalloc.c
parent9475ab261beabd848267f925940c15f9fd6eb96e (diff)
whitespace cleanups
Diffstat (limited to 'nalloc.c')
-rw-r--r--nalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nalloc.c b/nalloc.c
index 0144b48..989ab18 100644
--- a/nalloc.c
+++ b/nalloc.c
@@ -44,13 +44,13 @@ static void getblock(size_t n) {
extern void *nalloc(size_t n) {
size_t base;
Block *ulp;
- n = alignto(n, sizeof(align_t));
+ n = alignto(n, sizeof(align_t));
ulp = ul;
if (ulp != NULL && n + (base = ulp->used) < ulp->size) {
ulp->used = base + n;
return &ulp->mem[base];
} else {
- getblock(n);
+ getblock(n);
assert(ul->used == 0);
(ulp = ul)->used = n;
return &ulp->mem[0];