summaryrefslogtreecommitdiffstats
path: root/libdw/libdwP.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdw/libdwP.h')
-rw-r--r--libdw/libdwP.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdw/libdwP.h b/libdw/libdwP.h
index 09599e6d..8baa3fa3 100644
--- a/libdw/libdwP.h
+++ b/libdw/libdwP.h
@@ -283,7 +283,7 @@ struct Dwarf_CU
void *locs;
};
-#define CUDIE(fromcu) \
+#define CUDIE(fromcu) \
((Dwarf_Die) \
{ \
.cu = (fromcu), \
@@ -315,7 +315,7 @@ extern void __libdw_seterrno (int value) internal_function;
/* Memory handling, the easy parts. This macro does not do any locking. */
-#define libdw_alloc(dbg, type, tsize, cnt) \
+#define libdw_alloc(dbg, type, tsize, cnt) \
({ struct libdw_memblock *_tail = (dbg)->mem_tail; \
size_t _required = (tsize) * (cnt); \
type *_result = (type *) (_tail->mem + (_tail->size - _tail->remaining));\