We require a space after a comma and even document this in our
coding style document. However, our own rule is broken in the
very same document when listing string comparison macros.
Separate macro arguments properly.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Tim Wiederhake <twiederh@redhat.com>
::
- STREQ(a,b)
- STRNEQ(a,b)
+ STREQ(a, b)
+ STRNEQ(a, b)
- For case insensitive equality:
::
- STRCASEEQ(a,b)
- STRCASENEQ(a,b)
+ STRCASEEQ(a, b)
+ STRCASENEQ(a, b)
- For strict equality of a substring:
::
- STREQLEN(a,b,n)
- STRNEQLEN(a,b,n)
+ STREQLEN(a, b, n)
+ STRNEQLEN(a, b, n)
- For case insensitive equality of a substring:
::
- STRCASEEQLEN(a,b,n)
- STRCASENEQLEN(a,b,n)
+ STRCASEEQLEN(a, b, n)
+ STRCASENEQLEN(a, b, n)
- For strict equality of a prefix:
::
- STRPREFIX(a,b)
+ STRPREFIX(a, b)
- To avoid having to check if a or b are NULL: