X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5c50345529923f31413c7ab878001d5798d6bdf9..c57a24b1d86be7b62b1a415fec228f3aac05ae50:/include/xbt/swag.h diff --git a/include/xbt/swag.h b/include/xbt/swag.h index 64e07f80c7..7e6f1bd43b 100644 --- a/include/xbt/swag.h +++ b/include/xbt/swag.h @@ -9,6 +9,9 @@ cast and dirty things. So avoid using it unless you really know what you are doing. */ +#ifndef _XBT_SWAG_H +#define _XBT_SWAG_H + #include "xbt/sysdep.h" /* This type should be added to a type that is to be used in such a swag */ @@ -58,3 +61,5 @@ static __inline__ void *xbt_swag_getFirst(xbt_swag_t swag) (obj)=obj_next, \ ((obj)?(obj_next=xbt_swag_getNext((obj),(swag)->offset)): \ (obj_next=NULL)) ) + +#endif /* _XBT_SWAG_H */