From 3a093202e45deae5218ea5fade38989baf122fc5 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 25 Jul 2015 12:09:44 +0200 Subject: [PATCH] try to get Clang happy with our C/C++ bindings --- include/simgrid/platf.h | 2 +- src/include/surf/surf.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/simgrid/platf.h b/include/simgrid/platf.h index 8a0a95f954..0cbb14376a 100644 --- a/include/simgrid/platf.h +++ b/include/simgrid/platf.h @@ -15,7 +15,7 @@ SG_BEGIN_DECL() typedef void *sg_routing_link_t; /* FIXME:The actual type is model-dependent so use void* instead*/ -typedef struct RoutingEdge *sg_routing_edge_t; +typedef RoutingEdge *sg_routing_edge_t; XBT_PUBLIC(sg_routing_edge_t) sg_routing_edge_by_name_or_null(const char *name); diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index f53f48c023..7755523d9a 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -59,8 +59,8 @@ class NetworkCm02Link; class Action; class ActionLmm; class StorageActionLmm; -struct As; -struct RoutingEdge; +class As; +class RoutingEdge; class RoutingPlatf; #else typedef struct Model Model; -- 2.20.1