From: Arnaud Giersch Date: Fri, 11 Oct 2019 11:59:39 +0000 (+0200) Subject: Remove defintion of msg_as_t, deprecated a long time ago. X-Git-Tag: v3.25~545 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/23a502252be475af7547139790b3f2310b3c9603?hp=c1f769c019bb761afe1c80b89ad4d6aa066a8d45 Remove defintion of msg_as_t, deprecated a long time ago. --- diff --git a/include/simgrid/msg.h b/include/simgrid/msg.h index 328ab23933..b3f49b091d 100644 --- a/include/simgrid/msg.h +++ b/include/simgrid/msg.h @@ -70,8 +70,6 @@ typedef enum { } 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(); diff --git a/teshsuite/msg/platform-properties/platform-properties.c b/teshsuite/msg/platform-properties/platform-properties.c index 94375d6c47..e861d58c02 100644 --- a/teshsuite/msg/platform-properties/platform-properties.c +++ b/teshsuite/msg/platform-properties/platform-properties.c @@ -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*/ - 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"));