]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared/verbs: extend comment
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Fri, 27 Mar 2026 08:17:51 +0000 (09:17 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Fri, 3 Apr 2026 10:30:41 +0000 (12:30 +0200)
This was suggested in one of the reviews but I forgot to push the
change.

src/shared/verbs.h

index 6b380041b81e5c8d47e1e7c4ce1edb8ebd0227ab..cd18359cd75ac2181d75addb973858aea68b0dce 100644 (file)
@@ -52,7 +52,8 @@ typedef struct {
 #define VERB_NOARG(d, v, h)                                             \
         VERB(d, v, /* a= */ NULL, /* amin= */ VERB_ANY, /* amax= */ 1, /* f= */ 0, h)
 
-/* Magic entry in the table (which will not be returned) that designates the start of the group <gr>. */
+/* Magic entry in the table (which will not be returned) that designates the start of the group <gr>.
+ * The macro works as a separator between groups and must be between other VERB* stanzas. */
 #define VERB_GROUP(gr)                                                  \
         _VERB_DATA(/* d= */ NULL, /* v= */ gr, /* a= */ NULL, /* amin= */ 0, /* amax= */ 0, \
                   /* f= */ VERB_GROUP_MARKER, /* dat= */ 0, /* h= */ NULL)