diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-03-25 22:18:10 +0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-03-27 08:56:21 +0100 |
commit | 115a2ccae5b02f10e377bd0f339aac875913f18d (patch) | |
tree | 16d1e51b5c26b5f4740d0e77bea63c2cf8a72047 /include/osmocom/core/socket.h | |
parent | 73e66b3eef96bd1e5a48c6ad03fc03c1fe47c1af (diff) |
core/msgb.h: fix dead msgb2 reference in msgb_eq_* helpers
Neither Doxygen documentation of the msgb data comparison helpers,
nor their actual definitions does refer msgb2. Instead, 'msg2' is
referenced in both cases. This was discovered while investigating
the following Doxygen warnings:
msgb.h:XXX: warning: argument 'msg2' of command @param is not
found in the argument list of
msgb_eq(msg1, msgb2, len)
msgb.h:XXX: warning: The following parameters of
msgb_eq_l2(msg1, msgb2, len) are not documented:
parameter 'msgb2'
parameter 'len'
Due to this bug it was impossible to use the affected macros,
because 'msg2' was not listed in their parameters. Having the
unit test coverage would spot this bug at the beginning!
Change-Id: I1079d629abdb8770eef6be7341e586a933cd9cca
Diffstat (limited to 'include/osmocom/core/socket.h')
0 files changed, 0 insertions, 0 deletions