projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: Move instrumentation/ headers to include/instrumentation/
[lttng-modules.git]
/
wrapper
/
compiler.h
diff --git
a/wrapper/compiler.h
b/wrapper/compiler.h
index 1496f33e3807821fd19ac72e76e7bf35aacacd1f..38974c062e0cc9428ee9541c7b8ac2fca736210c 100644
(file)
--- a/
wrapper/compiler.h
+++ b/
wrapper/compiler.h
@@
-1,4
+1,4
@@
-/* SPDX-License-Identifier: (GPL-2.0
or LGPL-2.1
)
+/* SPDX-License-Identifier: (GPL-2.0
-only or LGPL-2.1-only
)
*
* wrapper/compiler.h
*
*
* wrapper/compiler.h
*
@@
-39,4
+39,6
@@
# define WRITE_ONCE(x, val) ({ ACCESS_ONCE(x) = val; })
#endif
# define WRITE_ONCE(x, val) ({ ACCESS_ONCE(x) = val; })
#endif
+#define __LTTNG_COMPOUND_LITERAL(type, ...) (type[]) { __VA_ARGS__ }
+
#endif /* _LTTNG_WRAPPER_COMPILER_H */
#endif /* _LTTNG_WRAPPER_COMPILER_H */
This page took
0.022639 seconds
and
4
git commands to generate.