X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c00c7de7bd34fb2107cef49911f1cf2bb5301a22..22e6546d2c6f14864cc93c4ed1470d8e8c1e2d95:/src/xbt/mmalloc/mmprivate.h diff --git a/src/xbt/mmalloc/mmprivate.h b/src/xbt/mmalloc/mmprivate.h index d717e3a086..2fdc94c9bd 100644 --- a/src/xbt/mmalloc/mmprivate.h +++ b/src/xbt/mmalloc/mmprivate.h @@ -148,7 +148,7 @@ typedef struct { int type; /* 0: busy large block >0: busy fragmented (fragments of size 2^type bytes) <0: free block */ - + union { /* Heap information for a busy block. */ struct { @@ -294,12 +294,6 @@ XBT_PUBLIC( void *)mmorecore(struct mdesc *mdp, ssize_t size); #define LOCK(mdp) pthread_mutex_lock(&mdp->mutex) #define UNLOCK(mdp) pthread_mutex_unlock(&mdp->mutex) -static inline void mmalloc_paranoia(struct mdesc *mdp){ - - /* nothing to fear for no */ - -} - static inline int mmalloc_get_increment(malloc_info* heapinfo) { if (heapinfo->type < 0) { return heapinfo->free_block.size; @@ -310,8 +304,6 @@ static inline int mmalloc_get_increment(malloc_info* heapinfo) { } } -XBT_PRIVATE void mmcheck(xbt_mheap_t heap); - XBT_PRIVATE int malloc_use_mmalloc(void); XBT_PRIVATE int mmalloc_exec_using_mm(int argc, const char** argv); @@ -321,4 +313,4 @@ XBT_PRIVATE size_t mmalloc_get_bytes_used_remote(size_t heaplimit, const malloc_ SG_END_DECL() -#endif /* XBT_MMPRIVATE_H */ +#endif