Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Stop loading private headers in public ones
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 14 Apr 2005 22:19:19 +0000 (22:19 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 14 Apr 2005 22:19:19 +0000 (22:19 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1217 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/swag.h

index 1bf0c86..344eafe 100644 (file)
@@ -12,8 +12,8 @@
 #ifndef _XBT_SWAG_H
 #define _XBT_SWAG_H
 
+#include "xbt/misc.h"
 #include "xbt/sysdep.h"
-#include "gras_config.h" /* inline */
 
 /* This type should be added to a type that is to be used in such a swag */
 /* Whenever a new object with this struct is created, all fields have
@@ -78,7 +78,7 @@ void *xbt_swag_extract(xbt_swag_t swag);
 int xbt_swag_size(xbt_swag_t swag);
 int xbt_swag_belongs(void *obj, xbt_swag_t swag);
 
-static inline void *xbt_swag_getFirst(xbt_swag_t swag)
+static _XBT_INLINE void *xbt_swag_getFirst(xbt_swag_t swag)
 {
   return (swag->head);
 }