aboutsummaryrefslogtreecommitdiff
path: root/include/08.heap/heap9.c
diff options
context:
space:
mode:
Diffstat (limited to 'include/08.heap/heap9.c')
-rw-r--r--include/08.heap/heap9.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/08.heap/heap9.c b/include/08.heap/heap9.c
new file mode 100644
index 0000000..a61193b
--- /dev/null
+++ b/include/08.heap/heap9.c
@@ -0,0 +1,4 @@
+ b->lfb = bcnt - 1;
+ b->used = bcnt;
+ return 1;
+}