From 8a740c0aa4e0f82e33046d10290b7a97136473d9 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 27 Dec 2015 22:15:17 +0100 Subject: [PATCH] kill a redundent type --- include/simgrid/forward.h | 1 - include/simgrid/host.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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); -- 2.20.1