X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d0ffc37686edcc803601f76ab51fdfed5fc2f241..d36bc97b16fbe84289de72ea37c4d6678b20b794:/include/xbt/module.h diff --git a/include/xbt/module.h b/include/xbt/module.h index 29cad1bf0f..e8539f891b 100644 --- a/include/xbt/module.h +++ b/include/xbt/module.h @@ -1,23 +1,19 @@ /* module - modularize the code */ -/* Copyright (c) 2004-2007, 2009-2010, 2012. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2004-2021. 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 _XBT_MODULE_H -#define _XBT_MODULE_H +#ifndef XBT_MODULE_H +#define XBT_MODULE_H #include /* XBT_PUBLIC */ -#ifdef __cplusplus -extern "C" { -#endif -XBT_PUBLIC(void) xbt_init(int *argc, char **argv); -XBT_PUBLIC(void) xbt_exit(void); -#ifdef __cplusplus -} -#endif +SG_BEGIN_DECL -#endif /* _XBT_MODULE_H */ +XBT_PUBLIC void xbt_init(int* argc, char** argv); + +SG_END_DECL + +#endif /* XBT_MODULE_H */