-/* Copyright (c) 2005-2016. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2005-2017. The SimGrid Team. All rights reserved. */
-#ifndef SIMGRIX_XBT_BACKTRACE_H
-#define SIMGRIX_XBT_BACKTRACE_H
+#ifndef XBT_BACKTRACE_H
+#define XBT_BACKTRACE_H
+#ifdef __cplusplus
#include <cstddef>
+#endif
#include <xbt/base.h>
typedef void* xbt_backtrace_location_t;
/** @brief Shows a backtrace of the current location */
-XBT_PUBLIC(void) xbt_backtrace_display_current(void);
+XBT_PUBLIC(void) xbt_backtrace_display_current();
/** @brief reimplementation of glibc backtrace based directly on gcc library, without implicit malloc */
XBT_PUBLIC(int) xbt_backtrace_no_malloc(void**bt, int size);