X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/989078e144024c50828fc7bccbaa63832733390e..253adc083aed58ee34200da9e8dac111926a7092:/include/xbt/sysdep.h diff --git a/include/xbt/sysdep.h b/include/xbt/sysdep.h index b405a7afd2..2c7c194f52 100644 --- a/include/xbt/sysdep.h +++ b/include/xbt/sysdep.h @@ -13,11 +13,14 @@ #include #include +#include +#include /* va_list */ #include "xbt/misc.h" -#include "xbt/error.h" +#include "xbt/asserts.h" -BEGIN_DECL() +SG_BEGIN_DECL() + /** @addtogroup XBT_syscall * @{ */ @@ -91,6 +94,10 @@ static inline void *xbt_realloc(void*p,int s){ /** @} */ -END_DECL() +/* FIXME: better place? */ +int vasprintf (char **ptr, const char *fmt, va_list ap); +char *bprintf(const char*fmt, ...) _XBT_GNUC_PRINTF(1,2); + +SG_END_DECL() #endif /* _XBT_SYSDEP_H */