Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
In C++ files, replace SG_{BEGIN,END}+_DECL() by extern "C" { }.
[simgrid.git] / src / msg / msg_host.cpp
index 844fb889d0a60a4fabe2a2b8137aa42a269b6052..7605967a69c00631e772ae2a0da417e08f16c0d3 100644 (file)
@@ -13,7 +13,7 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(msg);
 
 simgrid::xbt::Extension<simgrid::s4u::Host, simgrid::MsgHostExt> simgrid::MsgHostExt::EXTENSION_ID;
 
-SG_BEGIN_DECL()
+extern "C" {
 
 int sg_storage_max_file_descriptors = 1024;
 
@@ -266,5 +266,4 @@ xbt_dict_t MSG_host_get_storage_content(msg_host_t host)
 
   return contents;
 }
-
-SG_END_DECL()
+}