diff --git a/src/core/net/tcp6.hpp b/src/core/net/tcp6.hpp index 3eb6d134f..febefe9c1 100644 --- a/src/core/net/tcp6.hpp +++ b/src/core/net/tcp6.hpp @@ -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); }