Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move simgrid::surf::Link declaration with its friends in forward.h
[simgrid.git] / include / simgrid / link.h
index 8a81bb9..322d8b1 100644 (file)
@@ -1,6 +1,7 @@
 /* Public interface to the Link datatype                                    */
 
-/* Copyright (c) 2015. The SimGrid Team. All rights reserved.               */
+/* Copyright (c) 2015. The SimGrid Team.
+ * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -8,14 +9,7 @@
 #ifndef INCLUDE_SIMGRID_LINK_H_
 #define INCLUDE_SIMGRID_LINK_H_
 
-
-#ifdef __cplusplus
-class Link;
-#else
-typedef struct Link Link;
-#endif
-
-
+#include <simgrid/forward.h>
 
 /* C interface */
 SG_BEGIN_DECL()