[PATCH 1/2] commit-slab: document clear_$slabname()
- From
Thomas Rast <tr@thomasrast.ch>
- Date
- Nov 25, 2013, 19:02 UTC
- Message-ID
- <7f773c5c5ea16b19840f67ba99961be132940d32.1385405977.git.tr@thomasrast.ch>
- In-Reply-To
- <cover.1385405977.git.tr@thomasrast.ch>
The clear_$slabname() function was only documented by source code so far. Write something about it.
Signed-off-by: Thomas Rast <tr@thomasrast.ch> --- commit-slab.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/commit-slab.h b/commit-slab.h index d4c8286..d77aaea 100644 --- a/commit-slab.h +++ b/commit-slab.h @@ -24,6 +24,10 @@ * to each commit. 'stride' specifies how big each array is. The slab * that id initialied by the variant without "_with_stride" associates * each commit with an array of one integer. + * + * - void clear_indegree(struct indegree *); + * + * Free the slab's data structures. */ /* allocate ~512kB at once, allowing for malloc overhead */
-- 1.8.5.rc3.397.g2a3acd5