For safety, add extra parantheses on each used macro argument.
In most cases not strictly necessary, but better have some strict
and automatically enforcable policy here than wasting time on
judging individual cases.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
A frequent pattern inside request handlers looks like this:
int rc = doSomething(...);
if (rc != Success) {
return rc;
}
Making the code bit shorter & quicker to read my moving this
into a macro like this:
X_CALL_CHECK_ERR(doSomething(...));
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>