From 23a502252be475af7547139790b3f2310b3c9603 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Fri, 11 Oct 2019 13:59:39 +0200 Subject: [PATCH] Remove defintion of msg_as_t, deprecated a long time ago. --- include/simgrid/msg.h | 2 -- teshsuite/msg/platform-properties/platform-properties.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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")); -- 2.20.1