r411: refactored kalloc for clarity

The new version is closer to K&R's original implementation.
This commit is contained in:
Heng Li
2017-09-18 19:49:15 -04:00
parent 60485790b4
commit 11081c6c27
5 changed files with 122 additions and 139 deletions
+1
View File
@@ -1,4 +1,5 @@
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include "mmpriv.h"
#include "kalloc.h"