[style] remove const values in declarations (#3705)

This commit is contained in:
Jonathan Hui
2019-03-22 08:12:26 -07:00
committed by Jonathan Hui
parent e00114b3f1
commit c7cd21f8b7
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -267,7 +267,7 @@ otError otLinkRawSrcMatchEnable(otInstance *aInstance, bool aEnable);
* @retval OT_ERROR_INVALID_STATE If the raw link-layer isn't enabled.
*
*/
otError otLinkRawSrcMatchAddShortEntry(otInstance *aInstance, const uint16_t aShortAddress);
otError otLinkRawSrcMatchAddShortEntry(otInstance *aInstance, uint16_t aShortAddress);
/**
* Adding extended address to the source match table.
@@ -293,7 +293,7 @@ otError otLinkRawSrcMatchAddExtEntry(otInstance *aInstance, const otExtAddress *
* @retval OT_ERROR_INVALID_STATE If the raw link-layer isn't enabled.
*
*/
otError otLinkRawSrcMatchClearShortEntry(otInstance *aInstance, const uint16_t aShortAddress);
otError otLinkRawSrcMatchClearShortEntry(otInstance *aInstance, uint16_t aShortAddress);
/**
* Removing extended address to the source match table of the radio.
+1 -1
View File
@@ -1888,7 +1888,7 @@ extern "C" {
* @param[in] aLength Number of bytes to print.
*
*/
void otDump(otLogLevel aLevel, otLogRegion aRegion, const char *aId, const void *aBuf, const size_t aLength);
void otDump(otLogLevel aLevel, otLogRegion aRegion, const char *aId, const void *aBuf, size_t aLength);
/**
* This function converts a log level to a prefix string for appending to log message.
+1 -1
View File
@@ -63,7 +63,7 @@ public:
* @param[in] aType The type of the dataset, active or pending.
*
*/
explicit Dataset(const Tlv::Type aType);
explicit Dataset(Tlv::Type aType);
/**
* This method clears the Dataset.
+1 -1
View File
@@ -54,7 +54,7 @@ public:
* @param[in] aType The type of the dataset, active or pending.
*
*/
DatasetLocal(Instance &aInstance, const Tlv::Type aType);
DatasetLocal(Instance &aInstance, Tlv::Type aType);
/**
* This method indicates whether this is an Active or Pending Dataset.
+1 -1
View File
@@ -173,7 +173,7 @@ protected:
*
*/
DatasetManager(Instance & aInstance,
const Tlv::Type aType,
Tlv::Type aType,
const char * aUriGet,
const char * aUriSet,
TimerMilli::Handler aTimerHandler);