A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Define XBT_PUBLIC without parameter, just like XBT_PRIVATE.
[simgrid.git]
/
src
/
include
/
simgrid
/
sg_config.h
diff --git
a/src/include/simgrid/sg_config.h
b/src/include/simgrid/sg_config.h
index
4bd78c5
..
f185d51
100644
(file)
--- a/
src/include/simgrid/sg_config.h
+++ b/
src/include/simgrid/sg_config.h
@@
-1,10
+1,13
@@
-/* 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. */
/* 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.h"
+#include "xbt/config.hpp"
/** Config Globals */
SG_BEGIN_DECL()
/** Config Globals */
SG_BEGIN_DECL()
@@
-13,7
+16,9
@@
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(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();
+XBT_PUBLIC
void sg_config_init(int* argc, char**
argv);
+XBT_PUBLIC
void
sg_config_finalize();
SG_END_DECL()
SG_END_DECL()
+
+#endif