Signed-off-by: Ben Pfaff <b...@ovn.org> --- lib/smap.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lib/smap.h b/lib/smap.h index 37eac47..edf591c 100644 --- a/lib/smap.h +++ b/lib/smap.h @@ -47,10 +47,12 @@ struct smap_node { BUILD_ASSERT_TYPE(NEXT, struct smap_node *), \ BUILD_ASSERT_TYPE(SMAP, struct smap *)) -/* Initializer for an immutable struct smap 'SMAP' that contains a single - * 'KEY'-'VALUE' pair, e.g. +/* Initializer for an immutable struct smap 'SMAP' that contains one or two + * key-value pairs, e.g. * - * const struct smap smap = SMAP1_CONST1(&smap, "key", "value"); + * const struct smap smap1 = SMAP_CONST1(&smap, "key", "value"); + * const struct smap smap2 = SMAP_CONST2(&smap, "key1", "value1", + * "key2", "value2"); * * An smap initialized this way must not be modified or destroyed. * -- 2.10.2 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev