/* Initialization for access to a mmap'd malloc managed region. */
-/* Copyright (c) 2012-2019. The SimGrid Team.
+/* Copyright (c) 2012-2021. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
#endif
#include "mmprivate.h"
#include "xbt/ex.h"
-#include "src/xbt_modinter.h" /* declarations of mmalloc_preinit and friends that live here */
+#include "xbt/xbt_modinter.h" /* declarations of mmalloc_preinit and friends that live here */
#ifndef SEEK_SET
#define SEEK_SET 0
return (NULL);
else if (sbuf.st_size > 0) {
- /* We were given an valid file descriptor on an open file, so try to remap
+ /* We were given a valid file descriptor on an open file, so try to remap
it into the current process at the same address to which it was previously
mapped. It naturally have to pass some sanity checks for that.
}
}
- return (mdp);
+ return mdp;
}
/* Safety gap from the heap's break address.