random: remove @return doc for void functions
For functions returning nothing, there is no need to document with @return, as Doxgen complains about "documented empty return type of ...". Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
1be8c15e4c
commit
9f1fc49ac9
1 changed files with 0 additions and 6 deletions
|
@ -31,7 +31,6 @@ static atomic_val_t _rand32_counter;
|
|||
#define _RAND32_INC 1000000003U
|
||||
|
||||
/**
|
||||
*
|
||||
* @brief Get a 32 bit random number
|
||||
*
|
||||
* The non-random number generator returns values that are based off the
|
||||
|
@ -40,14 +39,12 @@ static atomic_val_t _rand32_counter;
|
|||
*
|
||||
* @return a 32-bit number
|
||||
*/
|
||||
|
||||
uint32_t z_impl_sys_rand32_get(void)
|
||||
{
|
||||
return k_cycle_get_32() + atomic_add(&_rand32_counter, _RAND32_INC);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @brief Fill destination buffer with random numbers
|
||||
*
|
||||
* The non-random number generator returns values that are based off the
|
||||
|
@ -56,10 +53,7 @@ uint32_t z_impl_sys_rand32_get(void)
|
|||
*
|
||||
* @param dst destination buffer to fill
|
||||
* @param outlen size of destination buffer to fill
|
||||
*
|
||||
* @return N/A
|
||||
*/
|
||||
|
||||
void z_impl_sys_rand_get(void *dst, size_t outlen)
|
||||
{
|
||||
uint8_t *udst = dst;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue