Cleanup: Move instrumentation/ headers to include/instrumentation/
[lttng-modules.git] / wrapper / compiler.h
index 1496f33e3807821fd19ac72e76e7bf35aacacd1f..38974c062e0cc9428ee9541c7b8ac2fca736210c 100644 (file)
@@ -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
  *
@@ -39,4 +39,6 @@
 # define WRITE_ONCE(x, val)    ({ ACCESS_ONCE(x) = val; })
 #endif
 
+#define __LTTNG_COMPOUND_LITERAL(type, ...)    (type[]) { __VA_ARGS__ }
+
 #endif /* _LTTNG_WRAPPER_COMPILER_H */
This page took 0.022489 seconds and 4 git commands to generate.