X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/53da25efff65ea4eaa79023a4ff8c5d1d24d1470..281f8c29e177852dcb1591fc31e363e1176857c8:/include/xbt/module.h diff --git a/include/xbt/module.h b/include/xbt/module.h index 3aa6fadbe8..29cad1bf0f 100644 --- a/include/xbt/module.h +++ b/include/xbt/module.h @@ -1,8 +1,7 @@ -/* $Id$ */ - /* module - modularize the code */ -/* Copyright (c) 2004 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2004-2007, 2009-2010, 2012. 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. */ @@ -10,8 +9,15 @@ #ifndef _XBT_MODULE_H #define _XBT_MODULE_H -extern char *xbt_binary_name; +#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 -void xbt_init(int *argc,char **argv); -void xbt_exit(void); -#endif /* _XBT_MODULE_H */ +#endif /* _XBT_MODULE_H */