projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use __typeof__ instead of typeof
[babeltrace.git]
/
src
/
common
/
macros.h
diff --git
a/src/common/macros.h
b/src/common/macros.h
index 9014afc2c637d1b1df6eb31764c4815074ae03c3..5549b8576fe251bd196a79b361bc054019d76239 100644
(file)
--- a/
src/common/macros.h
+++ b/
src/common/macros.h
@@
-43,7
+43,7
@@
extern "C" {
#define BT_MOVE_REF(ref) \
({ \
#define BT_MOVE_REF(ref) \
({ \
-
typeof(ref) _ref = ref;
\
+
__typeof__(ref) _ref = ref;
\
ref = NULL; \
_ref; \
})
ref = NULL; \
_ref; \
})
This page took
0.02306 seconds
and
4
git commands to generate.