From: mquinson Date: Wed, 29 Jun 2005 20:52:54 +0000 (+0000) Subject: Explicit another argument before the vaargs so that module setting function can pass... X-Git-Tag: v3.3~3873 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d6a9e071e80dac83aa2cddf5a98e90468efaac51 Explicit another argument before the vaargs so that module setting function can pass their vaargs to the generic ones (the cfg set is implicit and don't need to be passed as argument in modules, so we can't va_start() on it) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1482 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/config.h b/include/xbt/config.h index edfbeac21f..30b912ad77 100644 --- a/include/xbt/config.h +++ b/include/xbt/config.h @@ -117,8 +117,8 @@ BEGIN_DECL() * @{ */ - xbt_error_t xbt_cfg_set(xbt_cfg_t cfg, ...); - xbt_error_t xbt_cfg_set_vargs(xbt_cfg_t cfg, va_list pa); + xbt_error_t xbt_cfg_set(xbt_cfg_t cfg, const char *name, ...); + xbt_error_t xbt_cfg_set_vargs(xbt_cfg_t cfg, const char *name, va_list pa); xbt_error_t xbt_cfg_set_parse(xbt_cfg_t cfg, const char *options);