[tcp] suppress clang-tidy for re-declared TCPlp functions (#7867)

This commit is contained in:
Sam Kumar
2022-09-19 10:30:48 -07:00
committed by Jonathan Hui
parent 2cab708443
commit 5b430bf80b
+9
View File
@@ -55,7 +55,16 @@ extern "C" {
struct tcpcb;
struct tcpcb_listen;
struct tcplp_signals;
/*
* The next two declarations intentionally change argument names from the
* original declarations in TCPlp, in order to comply with OpenThread's format.
*/
// NOLINTNEXTLINE(readability-inconsistent-declaration-parameter-name)
void tcplp_sys_set_timer(struct tcpcb *aTcb, uint8_t aTimerFlag, uint32_t aDelay);
// NOLINTNEXTLINE(readability-inconsistent-declaration-parameter-name)
void tcplp_sys_stop_timer(struct tcpcb *aTcb, uint8_t aTimerFlag);
}