X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/79f4c4c467150b3bea841b968cabd629e9d9282a..a5a63cee9b36d804e5442b421f1c3c3562b7a8ac:/src/xbt/mmalloc/mmprivate.h diff --git a/src/xbt/mmalloc/mmprivate.h b/src/xbt/mmalloc/mmprivate.h index 46fe161fcc..db3ee33f61 100644 --- a/src/xbt/mmalloc/mmprivate.h +++ b/src/xbt/mmalloc/mmprivate.h @@ -51,7 +51,7 @@ #define BLOCKIFY(SIZE) (((SIZE) + BLOCKSIZE - 1) / BLOCKSIZE) /* We keep fragment-specific meta-data for introspection purposes, and these - * information are kept in fixed lenght arrays. Here is the computation of + * information are kept in fixed length arrays. Here is the computation of * that size. * * Never make SMALLEST_POSSIBLE_MALLOC smaller than sizeof(list) because we @@ -94,7 +94,7 @@ #define ADDRESS(B) ((void*) (((ADDR2UINT(B)) - 1) * BLOCKSIZE + (char*) mdp -> heapbase)) -SG_BEGIN_DECL() +SG_BEGIN_DECL /* Doubly linked lists of free fragments. */ struct list { @@ -226,7 +226,7 @@ struct mdesc { /* @brief List of all blocks containing free fragments of a given size. * - * The array indice is the log2 of requested size. + * The array index is the log2 of requested size. * Actually only the sizes 8->11 seem to be used, but who cares? */ s_xbt_swag_t fraghead[BLOCKLOG]; @@ -293,6 +293,6 @@ XBT_PRIVATE int malloc_use_mmalloc(void); XBT_PRIVATE size_t mmalloc_get_bytes_used_remote(size_t heaplimit, const malloc_info* heapinfo); -SG_END_DECL() +SG_END_DECL #endif