Skip to content

Commit dd80c05

Browse files
committed
fixup! fixup! sys/net/unicoap: add UNICOAP_OPTIONS_ALLOC_STATIC
1 parent 339f768 commit dd80c05

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sys/include/net/unicoap/options.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ static inline void unicoap_options_clear(unicoap_options_t* options)
193193
*
194194
* Allocates a new @ref unicoap_options_t container and a storage buffer with
195195
* the given capacity, and initializes it. No need to call
196-
* @ref unicoap_options_t::unicoap_options_init.afterwards.
196+
* @ref unicoap_options_t::unicoap_options_init afterwards.
197197
*
198198
* See @ref UNICOAP_OPTIONS_ALLOC_STATIC for static allocation
199199
*/
@@ -208,7 +208,7 @@ static inline void unicoap_options_clear(unicoap_options_t* options)
208208
*
209209
* Statically allocates a new @ref unicoap_options_t container and a storage
210210
* buffer with the given capacity, and initializes it. No need to call
211-
* @ref unicoap_options_t::unicoap_options_init.afterwards.
211+
* @ref unicoap_options_t::unicoap_options_init afterwards.
212212
*
213213
* See @ref UNICOAP_OPTIONS_ALLOC for non-static allocation
214214
*/
@@ -221,8 +221,8 @@ static inline void unicoap_options_clear(unicoap_options_t* options)
221221
* @param name Name of the variable storing the options structure
222222
*
223223
* Allocates a new @ref unicoap_options_t container and a storage buffer with
224-
* @ref CONFIG_UNICOAP_OPTIONS_BUFFER_DEFAULT_CAPACITY,
225-
* then calls @ref unicoap_options_t::unicoap_options_init.
224+
* @ref CONFIG_UNICOAP_OPTIONS_BUFFER_DEFAULT_CAPACITY, and initializes it.
225+
* No need to call @ref unicoap_options_t::unicoap_options_init afterwards.
226226
*
227227
* See @ref UNICOAP_OPTIONS_ALLOC_STATIC_DEFAULT for static allocation
228228
*/
@@ -236,7 +236,7 @@ static inline void unicoap_options_clear(unicoap_options_t* options)
236236
*
237237
* Statically allocates a new @ref unicoap_options_t container and a storage buffer
238238
* with @ref CONFIG_UNICOAP_OPTIONS_BUFFER_DEFAULT_CAPACITY, and initializes it.
239-
* No need to call @ref unicoap_options_t::unicoap_options_init.afterwards.
239+
* No need to call @ref unicoap_options_t::unicoap_options_init afterwards.
240240
*
241241
* See @ref UNICOAP_OPTIONS_ALLOC_DEFAULT for non-static allocation
242242
*/

0 commit comments

Comments
 (0)