aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 4ec3a1c3863..2232b7b82d2 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -645,7 +645,7 @@ lisp_free (block)
645/* BLOCK_ALIGN has to be a power of 2. */ 645/* BLOCK_ALIGN has to be a power of 2. */
646#define BLOCK_ALIGN (1 << 10) 646#define BLOCK_ALIGN (1 << 10)
647#define BLOCK_BYTES \ 647#define BLOCK_BYTES \
648 (BLOCK_ALIGN - sizeof (struct aligned_block *) - ABLOCKS_PADDING) 648 (BLOCK_ALIGN - sizeof (struct alinged_block *) - ABLOCKS_PADDING)
649 649
650/* Internal data structures and constants. */ 650/* Internal data structures and constants. */
651 651
@@ -676,7 +676,9 @@ struct ablock
676 struct ablocks *abase; 676 struct ablocks *abase;
677 /* The padding of all but the last ablock is unused. The padding of 677 /* The padding of all but the last ablock is unused. The padding of
678 the last ablock in an ablocks is not allocated. */ 678 the last ablock in an ablocks is not allocated. */
679#if ABLOCKS_PADDING
679 char padding[ABLOCKS_PADDING]; 680 char padding[ABLOCKS_PADDING];
681#endif
680}; 682};
681 683
682/* A bunch of consecutive aligned blocks. */ 684/* A bunch of consecutive aligned blocks. */