summaryrefslogtreecommitdiff
path: root/cesar/lib/restrack.h
diff options
context:
space:
mode:
authorschodet2009-10-19 18:23:59 +0000
committerschodet2009-10-19 18:23:59 +0000
commit9b2aa47e3adea348aa5073c03a524256bac3d5c9 (patch)
tree0aeb58085d78c3e655711d2a3811188b5695956d /cesar/lib/restrack.h
parent1f2f80c583ad1461583543f4ff1d2b4a9abdcf01 (diff)
cesar/lib/blame: add new blame module to report fault on the caller
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6188 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/lib/restrack.h')
-rw-r--r--cesar/lib/restrack.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/cesar/lib/restrack.h b/cesar/lib/restrack.h
index af530583b8..44b74e9bc2 100644
--- a/cesar/lib/restrack.h
+++ b/cesar/lib/restrack.h
@@ -35,34 +35,10 @@
* Use CONFIG_RESTRACK_KEEP to keep records of destructed resources (not safe,
* but may be useful for debug in some cases).
*/
+#include "lib/blame.h"
#include "config/restrack.h"
-/* Macro helpers. */
-#if CONFIG_RESTRACK
-
-# define _FL const char *function, int line
-# define void_FL _FL
-# define __FL , _FL
-# define _fL __func__, __LINE__
-# define __fL , _fL
-# define _fl function, line
-# define __fl , _fl
-# define _fl_ function, line
-
-#else /* !CONFIG_RESTRACK */
-
-# define _FL
-# define void_FL void
-# define __FL
-# define _fL
-# define __fL
-# define _fl
-# define __fl
-# define _fl_ NULL, 0
-
-#endif /* !CONFIG_RESTRACK */
-
#if CONFIG_RESTRACK
BEGIN_DECLS