X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0f5e8daaa6e9f74521068aa75837200bcd182ea6..2376a01092173679830310f4d57b267445959f97:/src/xbt_modinter.h diff --git a/src/xbt_modinter.h b/src/xbt_modinter.h index 491c1db3bd..988f5f48a5 100644 --- a/src/xbt_modinter.h +++ b/src/xbt_modinter.h @@ -1,6 +1,6 @@ /* xbt_modinter - How to init/exit the XBT modules */ -/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. The SimGrid Team. +/* Copyright (c) 2004-2010, 2012-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -10,6 +10,8 @@ #define XBT_MODINTER_H #include "xbt/misc.h" +SG_BEGIN_DECL() + /* Modules definitions */ void xbt_backtrace_preinit(void); void xbt_backtrace_postexit(void); @@ -26,8 +28,11 @@ void xbt_dict_postexit(void); void xbt_os_thread_mod_preinit(void); void xbt_os_thread_mod_postexit(void); -void mmalloc_preinit(void); +void *mmalloc_preinit(void); void mmalloc_postexit(void); +extern int smx_cleaned; +extern int xbt_initialized; +SG_END_DECL() #endif /* XBT_MODINTER_H */