X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d0c7a85d5a6e9e1697d538a3162508c52633595c..ce6136d5f1a9ce68cfa6c968c257bd6c00c531d7:/src/xbt/backtrace_dummy.c diff --git a/src/xbt/backtrace_dummy.c b/src/xbt/backtrace_dummy.c index a4e15092f4..65a4fdaf83 100644 --- a/src/xbt/backtrace_dummy.c +++ b/src/xbt/backtrace_dummy.c @@ -1,22 +1,33 @@ -/* $Id: ex_interface.h 3782 2007-07-14 09:11:06Z mquinson $ */ - /* backtrace_dummy -- stubs of this module for non-supported archs */ -/* Copyright (c) 2003-2008, Da SimGrid team. All rights reserved. */ +/* Copyright (c) 2008-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. */ #include "xbt/ex.h" -#include "xbt_modinter.h" +#include "src/xbt_modinter.h" /* Module creation/destruction */ -void xbt_backtrace_init(void) { } -void xbt_backtrace_exit(void) { } +void xbt_backtrace_preinit(void) +{ +} + +void xbt_backtrace_postexit(void) +{ +} /* create a backtrace in the given exception */ -void xbt_backtrace_current(xbt_ex_t *e) { } +void xbt_backtrace_current(xbt_ex_t * e) +{ +} /* prepare a backtrace for display */ -void xbt_ex_setup_backtrace(xbt_ex_t *e) { } +void xbt_ex_setup_backtrace(xbt_ex_t * e) +{ +} +int xbt_backtrace_no_malloc(void **array, int size) { + return 0; +}