From d6a9e071e80dac83aa2cddf5a98e90468efaac51 Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 29 Jun 2005 20:52:54 +0000 Subject: [PATCH] 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 --- include/xbt/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.20.1