diff --git a/include/openthread/border_agent_tracker.h b/include/openthread/border_agent_tracker.h index 1fe03a846..382914ac5 100644 --- a/include/openthread/border_agent_tracker.h +++ b/include/openthread/border_agent_tracker.h @@ -52,7 +52,6 @@ extern "C" { * `_meshcop._udp` mDNS service. * * @{ - * */ /** @@ -152,7 +151,6 @@ otError otBorderAgentTrackerGetNextAgent(otInstance *aInstanc /** * @} - * */ #ifdef __cplusplus diff --git a/include/openthread/border_routing.h b/include/openthread/border_routing.h index 464cf0039..d70493d74 100644 --- a/include/openthread/border_routing.h +++ b/include/openthread/border_routing.h @@ -740,7 +740,6 @@ typedef void (*otBorderRoutingRdnssAddrCallback)(void *aContext); * @param[in] aInstance The OpenThread instance. * @param[in] aCallback The callback function pointer. Can be `NULL` if no callback is required. * @param[in] aConext An arbitrary context information (used when invoking the callback). - * */ void otBorderRoutingSetRdnssAddrCallback(otInstance *aInstance, otBorderRoutingRdnssAddrCallback aCallback, diff --git a/include/openthread/dataset.h b/include/openthread/dataset.h index 2e270ee90..807241ca8 100644 --- a/include/openthread/dataset.h +++ b/include/openthread/dataset.h @@ -160,7 +160,6 @@ typedef struct otSecurityPolicy * Represents a Channel Mask. * * The least significant bit (LSB), also referred to as bit 0, corresponds to channel number 0, and so on. - * */ typedef uint32_t otChannelMask; diff --git a/include/openthread/dns_client.h b/include/openthread/dns_client.h index 4a1154f3a..662e178d7 100644 --- a/include/openthread/dns_client.h +++ b/include/openthread/dns_client.h @@ -674,7 +674,6 @@ typedef struct otDnsRecordResponse otDnsRecordResponse; * - OT_ERROR_NONE A response was received successfully. * - OT_ERROR_ABORT A DNS transaction was aborted by the stack. * - OT_ERROR_RESPONSE_TIMEOUT No DNS response has been received within timeout. - * */ typedef void (*otDnsRecordCallback)(otError aError, const otDnsRecordResponse *aResponse, void *aContext); diff --git a/include/openthread/platform/ble.h b/include/openthread/platform/ble.h index 85c89a90b..a37aa078e 100644 --- a/include/openthread/platform/ble.h +++ b/include/openthread/platform/ble.h @@ -201,7 +201,6 @@ otError otPlatBleGapAdvSetData(otInstance *aInstance, uint8_t *aAdvertisementDat * @retval OT_ERROR_NONE Advertising procedure has been started. * @retval OT_ERROR_FAILED Update of data failed. * @retval OT_ERROR_INVALID_ARGS Invalid value has been supplied. - * */ otError otPlatBleGapAdvUpdateData(otInstance *aInstance, uint8_t *aAdvertisementData, uint16_t aAdvertisementLen); diff --git a/include/openthread/platform/infra_if.h b/include/openthread/platform/infra_if.h index 3f911a7fc..d46423a36 100644 --- a/include/openthread/platform/infra_if.h +++ b/include/openthread/platform/infra_if.h @@ -198,7 +198,6 @@ otError otPlatGetInfraIfLinkLayerAddress(otInstance *aInstanc * @param[in] aInstance The OpenThread instance. * @param[in] aEnable A boolean to enable (`true`) or disable (`false`) listening. * @param[in] aInfraIfIndex The index of the infrastructure interface to operate on. - * */ void otPlatInfraIfDhcp6PdClientSetListeningEnabled(otInstance *aInstance, bool aEnable, uint32_t aInfraIfIndex); diff --git a/src/core/border_router/rx_ra_tracker.hpp b/src/core/border_router/rx_ra_tracker.hpp index aa25c534f..344ea7969 100644 --- a/src/core/border_router/rx_ra_tracker.hpp +++ b/src/core/border_router/rx_ra_tracker.hpp @@ -188,7 +188,6 @@ public: * * @param[in] aCallback The callback function pointer. Can be `nullptr` if no callback is required. * @param[in] aConext An arbitrary context information (used when invoking the callback). - * */ void SetRdnssAddrCallback(RdnssAddrCallback aCallback, void *aContext) { mRdnssCallback.Set(aCallback, aContext); } diff --git a/src/core/config/misc.h b/src/core/config/misc.h index 8b1af2858..4c9577ef0 100644 --- a/src/core/config/misc.h +++ b/src/core/config/misc.h @@ -120,7 +120,6 @@ * * On FTD/MTD builds this feature is now mandatory and MUST be enabled. This config is therefore only applicable for * RADIO/RCP builds. - * */ #ifndef OPENTHREAD_CONFIG_UPTIME_ENABLE #define OPENTHREAD_CONFIG_UPTIME_ENABLE (OPENTHREAD_FTD || OPENTHREAD_MTD) diff --git a/src/core/mac/sub_mac_csl_receiver.cpp b/src/core/mac/sub_mac_csl_receiver.cpp index 9a7b94b1c..9c51c3403 100644 --- a/src/core/mac/sub_mac_csl_receiver.cpp +++ b/src/core/mac/sub_mac_csl_receiver.cpp @@ -234,7 +234,6 @@ void SubMac::GetCslWindowEdges(uint32_t &aAhead, uint32_t &aAfter) * | | | | | | | | * ---|-----------|------------|-----------|-----------|------------|------------|----------//------------|--- * -timeAhead CslPhase +timeAfter -timeAhead - * */ uint32_t semiPeriod = mCslPeriod * kUsPerTenSymbols / 2; uint32_t curTime, elapsed, semiWindow; diff --git a/src/core/net/dns_types.hpp b/src/core/net/dns_types.hpp index 9e47cc4a9..1769ad79a 100644 --- a/src/core/net/dns_types.hpp +++ b/src/core/net/dns_types.hpp @@ -1722,7 +1722,6 @@ public: * @retval kErrorNone The (translated) record data was successfully appended to @p aMessage. * @retval kErrorNoBufs Failed to allocate new buffers. * @retval kErrorParse The given @p aData format is not valid. - * */ static Error AppendTranslatedRecordDataTo(Message &aMessage, uint16_t aRecordType, diff --git a/src/core/thread/mle.hpp b/src/core/thread/mle.hpp index 90a9feb3d..5f5f6a4e4 100644 --- a/src/core/thread/mle.hpp +++ b/src/core/thread/mle.hpp @@ -1042,7 +1042,6 @@ public: * Schedule tx of MLE Advertisement message (unicast) to the given neighboring router after a random delay. * * @param[in] aRouter The router to send the Advertisement to. - * */ void ScheduleUnicastAdvertisementTo(const Router &aRouter); diff --git a/src/posix/platform/resolver.hpp b/src/posix/platform/resolver.hpp index 5f9127070..aa3a42143 100644 --- a/src/posix/platform/resolver.hpp +++ b/src/posix/platform/resolver.hpp @@ -123,7 +123,6 @@ public: * * @param[in] aRecursiveDnsServers A pointer to the list of IPv6 recursive DNS server addresses. * @param[in] aNumServers The number of recursive DNS servers. - * */ void SetRecursiveDnsServerList(const otIp6Address *aRecursiveDnsServers, uint32_t aNumServers);