From: Martin Quinson Date: Mon, 12 Jun 2017 20:24:40 +0000 (+0200) Subject: use the current syntax in this doc snippet X-Git-Tag: v3.16~121^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b6865f6fb60b7de821e9a9716e443f256834f088 use the current syntax in this doc snippet --- diff --git a/doc/doxygen/options.doc b/doc/doxygen/options.doc index 9ad7d0ba74..4739cf5def 100644 --- a/doc/doxygen/options.doc +++ b/doc/doxygen/options.doc @@ -52,13 +52,11 @@ SimGrid. @code #include -extern xbt_cfg_t _sg_cfg_set; - int main(int argc, char *argv[]) { SD_init(&argc, argv); /* Prefer MSG_config() if you use MSG!! */ - xbt_cfg_set_parse(_sg_cfg_set,"Item:Value"); + xbt_cfg_set_parse("Item:Value"); // Rest of your code }