X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a8cd62135619ad52e05ae1c929ef07e166e4260..719a77db362a51309e90a75253788223936b276c:/src/xbt/snprintf.c diff --git a/src/xbt/snprintf.c b/src/xbt/snprintf.c index 9098beba51..c1a4983a1f 100644 --- a/src/xbt/snprintf.c +++ b/src/xbt/snprintf.c @@ -1,3 +1,8 @@ +/* Copyright (c) 2005-2010, 2012-2014. The SimGrid Team. + * All rights reserved. */ + +/* 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. */ /* * snprintf.c - a portable implementation of snprintf @@ -422,6 +427,9 @@ int portable_vsnprintf(char *str, size_t str_m, const char *fmt, #endif #endif + /* FIXME: better place */ +#include "xbt/sysdep.h" + /* declarations */ static char credits[] = "\n\ @@ -1165,9 +1173,6 @@ int portable_vsnprintf(char *str, size_t str_m, const char *fmt, #endif - /* FIXME: better place */ -#include "xbt/sysdep.h" - char *bvprintf(const char *fmt, va_list ap) { char *res;