X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a8c9eb82be9ebfc8a9ec4ab10f914483a3e04f81..ab55024e8ccdb08b01b688dc387afb3dc9e5fa8a:/include/xbt/sysdep.h diff --git a/include/xbt/sysdep.h b/include/xbt/sysdep.h index 7d41431806..2fcad47d7d 100644 --- a/include/xbt/sysdep.h +++ b/include/xbt/sysdep.h @@ -100,8 +100,9 @@ static inline void *xbt_realloc(void*p,int s){ /** @} */ /* FIXME: better place? */ -int vasprintf (char **ptr, const char *fmt, va_list ap); -char *bprintf(const char*fmt, ...) _XBT_GNUC_PRINTF(1,2); +int asprintf (char **ptr, const char *fmt, /*args*/ ...) _XBT_GNUC_PRINTF(2,3); +int vasprintf (char **ptr, const char *fmt, va_list ap); +char *bprintf (const char*fmt, ...) _XBT_GNUC_PRINTF(1,2); SG_END_DECL()