Probably about time I had a central header file containing misc stuff.
[sgt/agedu] / malloc.c
index f326e6d..7de2e13 100644 (file)
--- a/malloc.c
+++ b/malloc.c
@@ -9,10 +9,9 @@
 #include <assert.h>
 #include <stdio.h>
 
+#include "agedu.h"
 #include "malloc.h"
 
-#define lenof(x) (sizeof((x))/sizeof(*(x)))
-
 extern void fatal(const char *, ...);
 
 void *smalloc(size_t size) {