X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f340dc5ebc3806e82509cbf87a775372fb6d14d0..81dabf0dd287d6a31ef284be57e6df6a3e2a4c00:/src/xbt/memory_map.hpp diff --git a/src/xbt/memory_map.hpp b/src/xbt/memory_map.hpp index 3bf3d68869..88807a27fc 100644 --- a/src/xbt/memory_map.hpp +++ b/src/xbt/memory_map.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2015. The SimGrid Team. +/* Copyright (c) 2007-2023. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -11,11 +11,7 @@ #include #include -#include -#include - -namespace simgrid { -namespace xbt { +namespace simgrid::xbt { /** An virtual memory map entry from /proc/$pid/maps */ struct VmMap { @@ -30,9 +26,7 @@ struct VmMap { std::string pathname; /* Path name of the mapped file */ }; -XBT_PRIVATE std::vector get_memory_map(pid_t pid); - -} -} +std::vector get_memory_map(pid_t pid); +} // namespace simgrid::xbt #endif