X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bf8ed7c701d350f04a3f30c9e4333120155b622c..41c803093e7108f16bfb4cc7e2c41c52104c73c2:/src/xbt/ex_interface.h diff --git a/src/xbt/ex_interface.h b/src/xbt/ex_interface.h index e5cb172f26..cef5284762 100644 --- a/src/xbt/ex_interface.h +++ b/src/xbt/ex_interface.h @@ -1,9 +1,9 @@ -/* $Id$ */ - /* ex -- exception handling */ -/* This file is not to be loaded from anywhere but ex.c */ +/* This file is to loaded in any location defining exception handlers */ +/* (such as context.c), to exchange them. */ -/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2006-2007, 2009-2010, 2012-2014. 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. */ @@ -11,7 +11,10 @@ #ifndef _XBT_EX_INTERFACE_H_ #define _XBT_EX_INTERFACE_H_ -void xbt_ex_setup_backtrace(xbt_ex_t *e); +#include "xbt/base.h" +#include "xbt/ex.h" -#endif /* _XBT_EX_INTERFACE_H_ */ +/* Change raw libc symbols to file names and line numbers */ +XBT_PRIVATE void xbt_ex_setup_backtrace(xbt_ex_t * e); +#endif /* _XBT_EX_INTERFACE_H_ */