aboutsummaryrefslogtreecommitdiff
path: root/include/08.heap/heap8.c
blob: fd64ff9a780e367f9a3cac6063fec01ee052492a (plain)
1
2
3
4
5
    /* reserve room for bitmap */
    bcnt = (bcnt / bsize) * bsize < bcnt ? bcnt / bsize + 1 : bcnt / bsize;
    for (x = 0; x < bcnt; ++x) {
        bm[x] = 5;
    }