summaryrefslogtreecommitdiff
path: root/allocator.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-02-29 11:32:42 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-02-29 11:32:42 -0500
commit7cced2c313c94d1fb8736581840dff00708aabf1 (patch)
treee4a29cac17f46f03a57addc14d049dff32927692 /allocator.c
parenta970f5f91b6f90acab60d05d1f5f92d059248e95 (diff)
new foreign system working like old one did now
Diffstat (limited to 'allocator.c')
-rw-r--r--allocator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/allocator.c b/allocator.c
index cf747ab..fae828a 100644
--- a/allocator.c
+++ b/allocator.c
@@ -25,7 +25,7 @@ static void *err_malloc(size_t bytes);
static void *err_calloc(size_t n, size_t sz);
static void *err_realloc(void *prev, size_t new_size);
#ifdef TOC_DEBUG
-/* #define NO_ALLOCATOR 1 /\* useful for debugging; valgrind checks writing past the end of a malloc, but that won't work with an allocator *\/ */
+#define NO_ALLOCATOR 1 /* useful for debugging; valgrind checks writing past the end of a malloc, but that won't work with an allocator */
#endif
/* number of bytes a page hold, not including the header */
#define PAGE_BYTES (16384 - sizeof(Page))