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,5 +1,6 @@
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include "minimap.h"
#include "mmpriv.h"
#include "ksw2.h"