From: Martin Quinson Date: Sat, 25 Jul 2015 10:09:44 +0000 (+0200) Subject: try to get Clang happy with our C/C++ bindings X-Git-Tag: v3_12~414 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3a093202e45deae5218ea5fade38989baf122fc5 try to get Clang happy with our C/C++ bindings --- 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;