A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
public headers should include simgrid in a system-wide way, not a project-wide one
[simgrid.git]
/
teshsuite
/
msg
/
actions-storage
/
actions-storage.c
diff --git
a/teshsuite/msg/actions-storage/actions-storage.c
b/teshsuite/msg/actions-storage/actions-storage.c
index
d0fc423
..
4c6e458
100644
(file)
--- a/
teshsuite/msg/actions-storage/actions-storage.c
+++ b/
teshsuite/msg/actions-storage/actions-storage.c
@@
-1,11
+1,14
@@
-/* Copyright (c) 2015-201
7
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2015-201
8
. 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. */
#include "simgrid/msg.h"
/* 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. */
#include "simgrid/msg.h"
+#include "simgrid/plugins/file_system.h"
#include <xbt/replay.hpp>
#include <xbt/replay.hpp>
+#include <stdio.h> /* snprintf */
+
XBT_LOG_NEW_DEFAULT_CATEGORY(storage_actions, "Messages specific for this example");
static xbt_dict_t opened_files = NULL;
XBT_LOG_NEW_DEFAULT_CATEGORY(storage_actions, "Messages specific for this example");
static xbt_dict_t opened_files = NULL;
@@
-98,6
+101,7
@@
static void action_close(const char* const* action)
int main(int argc, char* argv[])
{
MSG_init(&argc, argv);
int main(int argc, char* argv[])
{
MSG_init(&argc, argv);
+ MSG_storage_file_system_init();
/* Explicit initialization of the action module is required */
MSG_action_init();
/* Explicit initialization of the action module is required */
MSG_action_init();