Docs: optional.h: incorrect declaration example
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 19 Nov 2021 19:35:51 +0000 (14:35 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 19 Nov 2021 19:36:09 +0000 (14:36 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I1c9f6e8c3200bc72a5eb29e6459c3449bf0771cd

src/common/optional.h

index 0501904cbc4d1cfa52a926be158afe5219712646..52139d50de7198ac6524862554a4c9a4d892fa31 100644 (file)
@@ -24,7 +24,7 @@
  * Declaration example:
  * struct my_struct {
  *     int a;
- *     LTTNG_OPTIONAL(int, b);
+ *     LTTNG_OPTIONAL(int) b;
  * };
  *
  * Usage example:
This page took 0.026013 seconds and 4 git commands to generate.