Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill some unused features of mmalloc
[simgrid.git] / src / xbt / mmalloc / mmprivate.h
index 509eaff..62024e9 100644 (file)
@@ -33,7 +33,6 @@
 #define MMALLOC_MAGIC          "mmalloc"       /* Mapped file magic number */
 #define MMALLOC_MAGIC_SIZE     8       /* Size of magic number buf */
 #define MMALLOC_VERSION                1       /* Current mmalloc version */
-#define MMALLOC_KEYS           16      /* Keys for application use */
 
 /* The allocator divides the heap into blocks of fixed size; large
    requests receive one or more whole blocks, and small requests
@@ -260,11 +259,6 @@ struct mdesc {
 
   int fd;
 
-  /* An array of keys to data within the mapped region, for use by the
-     application.  */
-
-  void *keys[MMALLOC_KEYS];
-
 };
 
 int mmalloc_compare_heap(void *h1, void *h2, void *std_heap_addr);