diff --git a/src/core/openthread.cpp b/src/core/openthread.cpp index e263babb8..e5dd730d4 100644 --- a/src/core/openthread.cpp +++ b/src/core/openthread.cpp @@ -1896,12 +1896,12 @@ const uint8_t *otCoapHeaderGetToken(const otCoapHeader *aHeader) return static_cast(aHeader)->GetToken(); } -const otCoapOption *otCoapGetCurrentOption(const otCoapHeader *aHeader) +const otCoapOption *otCoapHeaderGetCurrentOption(const otCoapHeader *aHeader) { return static_cast(static_cast(aHeader)->GetCurrentOption()); } -const otCoapOption *otCoapGetNextOption(otCoapHeader *aHeader) +const otCoapOption *otCoapHeaderGetNextOption(otCoapHeader *aHeader) { return static_cast(static_cast(aHeader)->GetNextOption()); }