Doxygen: Clean up documentation errors

include/coap2/async.h:
include/coap2/coap_prng.h:

Correct documentation errors
This commit is contained in:
Jon Shallow committed 2020-07-01 10:23:07 +01:00
1 parent 4107f42d90
commit ff023a183a
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@ coap_touch_async(coap_async_state_t *s) { coap_ticks(&s->created); }
*
* Internal function.
*
* @param state The context to remove all async entries from.
* @param context The context to remove all async entries from.
*/
void
coap_delete_all_async(coap_context_t *context);
+3 -3
View File
@@ -8,7 +8,7 @@
*/
/**
* @file prng.h
* @file coap_prng.h
* @brief Pseudo Random Numbers
*/
@@ -116,12 +116,12 @@ void coap_prng_init(unsigned long seed);
* Fills @p buf with @p len random bytes using the default pseudo
* random number generator. The default PRNG can be changed with
* coap_set_prng(). This function returns 1 when @p len random bytes
* have been written to @buf, zero otherwise.
* have been written to @p buf, zero otherwise.
*
* @param buf The buffer to fill with random bytes.
* @param len The number of random bytes to write into @p buf.
*
* @param 1 on success, 0 otherwise.
* @return 1 on success, 0 otherwise.
*/
int coap_prng(void *buf, size_t len);