Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
'inline' is C99, remove portability the layer
[simgrid.git] / examples / msg / chainsend / common.h
index 8b0249d..1d1f8c4 100644 (file)
@@ -4,17 +4,17 @@
 /* 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. */
 
-#ifndef KADEPLOY_COMMON_H
-#define KADEPLOY_COMMON_H
+#ifndef COMMON_H
+#define COMMON_H
 
 #include "simgrid/msg.h"
 #include "xbt/sysdep.h"
 
-static XBT_INLINE void queue_pending_connection(msg_comm_t comm, xbt_dynar_t q)
+static inline void queue_pending_connection(msg_comm_t comm, xbt_dynar_t q)
 {
   xbt_dynar_push(q, &comm);
 }
 
 int process_pending_connections(xbt_dynar_t q);
 
-#endif /* KADEPLOY_COMMON_H */
+#endif /* COMMON_H */