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
[mc] Remove useless extern "C" around logging categories
[simgrid.git]
/
src
/
mc
/
mc_comm_pattern.cpp
diff --git
a/src/mc/mc_comm_pattern.cpp
b/src/mc/mc_comm_pattern.cpp
index
0a5ff5e
..
3c89669
100644
(file)
--- a/
src/mc/mc_comm_pattern.cpp
+++ b/
src/mc/mc_comm_pattern.cpp
@@
-15,11
+15,11
@@
using simgrid::mc::remote;
using simgrid::mc::remote;
-extern "C" {
-
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_comm_pattern, mc,
"Logging specific to MC communication patterns");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_comm_pattern, mc,
"Logging specific to MC communication patterns");
+extern "C" {
+
mc_comm_pattern_t MC_comm_pattern_dup(mc_comm_pattern_t comm)
{
mc_comm_pattern_t res = xbt_new0(s_mc_comm_pattern_t, 1);
mc_comm_pattern_t MC_comm_pattern_dup(mc_comm_pattern_t comm)
{
mc_comm_pattern_t res = xbt_new0(s_mc_comm_pattern_t, 1);