]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/mmalloc/mm_interface.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Please don't fix this error reported by clang-static [no-ci]
[simgrid.git] / src / xbt / mmalloc / mm_interface.c
index 28534b08fbad5064a67807d436a6c53d4a955edf..967bf2f2c336af0b73cf3d097a1848d62077cd68 100644 (file)
@@ -1,6 +1,6 @@
 /* External interface to a mmap'd malloc managed region. */
 
-/* Copyright (c) 2012-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2012-2023. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -51,9 +51,3 @@ size_t mmalloc_get_bytes_used_remote(size_t heaplimit, const malloc_info* heapin
   }
   return bytes;
 }
-
-__attribute__((weak)) xbt_mheap_t mmalloc_get_current_heap(void)
-{
-  fprintf(stderr, "Fake mmalloc_get_current_heap()\n");
-  return NULL;
-}
\ No newline at end of file