[coap] use otError in C handlers (#11115)

This commit changes CoAP handlers to use otError in the function or
method definitions. This ensures the definitions are consistent with
the declaration in coap.h.
This commit is contained in:
Yakun Xu
2025-01-07 15:48:38 -08:00
committed by GitHub
parent f3dded43b6
commit dc4acf0346
26 changed files with 44 additions and 38 deletions
+1 -1
View File
@@ -544,7 +544,7 @@ exit:
void DuaManager::HandleDuaResponse(void *aContext,
otMessage *aMessage,
const otMessageInfo *aMessageInfo,
Error aResult)
otError aResult)
{
static_cast<DuaManager *>(aContext)->HandleDuaResponse(AsCoapMessagePtr(aMessage), AsCoreTypePtr(aMessageInfo),
aResult);