From: Martin Quinson Date: Sun, 27 Dec 2015 21:15:17 +0000 (+0100) Subject: kill a redundent type X-Git-Tag: v3_13~1378 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8a740c0aa4e0f82e33046d10290b7a97136473d9?ds=sidebyside kill a redundent type --- diff --git a/include/simgrid/forward.h b/include/simgrid/forward.h index 434abff5dd..18b14f488e 100644 --- a/include/simgrid/forward.h +++ b/include/simgrid/forward.h @@ -44,7 +44,6 @@ typedef struct Link Link; typedef simgrid_Host* sg_host_t; typedef surf_Cpu *surf_cpu_t; -typedef surf_RoutingEdge *routing_edge_t; typedef surf_RoutingEdge *sg_routing_edge_t; typedef surf_As *AS_t; diff --git a/include/simgrid/host.h b/include/simgrid/host.h index d215f17891..3ddb6a73ce 100644 --- a/include/simgrid/host.h +++ b/include/simgrid/host.h @@ -52,8 +52,8 @@ XBT_PUBLIC(void) sg_host_simix_set(sg_host_t host, smx_host_priv_t priv); XBT_PUBLIC(void) sg_host_simix_destroy(sg_host_t host); // ========== RoutingEdge ============ -XBT_PUBLIC(routing_edge_t) sg_host_edge(sg_host_t host); -XBT_PUBLIC(void) sg_host_edge_set(sg_host_t host, routing_edge_t edge); +XBT_PUBLIC(sg_routing_edge_t) sg_host_edge(sg_host_t host); +XBT_PUBLIC(void) sg_host_edge_set(sg_host_t host, sg_routing_edge_t edge); XBT_PUBLIC(void) sg_host_edge_destroy(sg_host_t host, int do_callback);