Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove defintion of msg_as_t, deprecated a long time ago.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 11 Oct 2019 11:59:39 +0000 (13:59 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 11 Oct 2019 12:43:32 +0000 (14:43 +0200)
include/simgrid/msg.h
teshsuite/msg/platform-properties/platform-properties.c

index 328ab23..b3f49b0 100644 (file)
@@ -70,8 +70,6 @@ typedef enum {
 } msg_error_t;
 
 /* *************************** Network Zones ******************************** */
 } msg_error_t;
 
 /* *************************** Network Zones ******************************** */
-#define msg_as_t msg_netzone_t /* portability macro */
-
 typedef sg_netzone_t msg_netzone_t;
 
 XBT_PUBLIC msg_netzone_t MSG_zone_get_root();
 typedef sg_netzone_t msg_netzone_t;
 
 XBT_PUBLIC msg_netzone_t MSG_zone_get_root();
index 94375d6..e861d58 100644 (file)
@@ -70,7 +70,7 @@ static int david(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[])
 static int bob(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[])
 {
   /* this host also tests the properties of the AS*/
 static int bob(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[])
 {
   /* this host also tests the properties of the AS*/
-  msg_as_t root = MSG_zone_get_root();
+  msg_netzone_t root = MSG_zone_get_root();
   XBT_INFO("== Print the properties of the AS");
   XBT_INFO("   Process property: filename -> %s", MSG_zone_get_property_value(root, "filename"));
   XBT_INFO("   Process property: date -> %s", MSG_zone_get_property_value(root, "date"));
   XBT_INFO("== Print the properties of the AS");
   XBT_INFO("   Process property: filename -> %s", MSG_zone_get_property_value(root, "filename"));
   XBT_INFO("   Process property: date -> %s", MSG_zone_get_property_value(root, "date"));