X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c00d9de77c55596919956e198769dee003776c71..6af348b861fc72e45173e89c5f9540cefb6ee252:/src/include/simgrid/sg_config.h diff --git a/src/include/simgrid/sg_config.h b/src/include/simgrid/sg_config.h index 96a46eca49..a72e8ce6d9 100644 --- a/src/include/simgrid/sg_config.h +++ b/src/include/simgrid/sg_config.h @@ -1,19 +1,24 @@ -/* Copyright (c) 2012-2014. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2012-2018. 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. */ +#ifndef SIMGRID_CONFIG_H +#define SIMGRID_CONFIG_H + #include "xbt/config.h" +#include "xbt/config.hpp" /** Config Globals */ SG_BEGIN_DECL() -XBT_PUBLIC_DATA(xbt_cfg_t) simgrid_config; -XBT_PUBLIC_DATA(int) _sg_cfg_init_status; -XBT_PUBLIC_DATA(int) _sg_cfg_exit_asap; +XBT_PUBLIC_DATA xbt_cfg_t simgrid_config; +XBT_PUBLIC_DATA int _sg_cfg_init_status; +XBT_PUBLIC_DATA int _sg_cfg_exit_asap; -XBT_PUBLIC(void) sg_config_init(int *argc, char **argv); -XBT_PUBLIC(void) sg_config_finalize(void); +XBT_PUBLIC void sg_config_init(int* argc, char** argv); +XBT_PUBLIC void sg_config_finalize(); SG_END_DECL() + +#endif