Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to get Clang happy with our C/C++ bindings
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 25 Jul 2015 10:09:44 +0000 (12:09 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 25 Jul 2015 10:11:14 +0000 (12:11 +0200)
include/simgrid/platf.h
src/include/surf/surf.h

index 8a0a95f..0cbb143 100644 (file)
@@ -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);
 
index f53f48c..7755523 100644 (file)
@@ -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;