From b6865f6fb60b7de821e9a9716e443f256834f088 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 12 Jun 2017 22:24:40 +0200 Subject: [PATCH] use the current syntax in this doc snippet --- doc/doxygen/options.doc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 } -- 2.20.1