1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

net/ng_netreg: fix wrong documentation for ng_netreg_register()

This commit is contained in:
daniel-k 2015-05-11 17:24:44 +02:00
parent 3f2afcd596
commit ca772815ed

View File

@ -70,13 +70,13 @@ void ng_netreg_init(void);
* @details The semantics are: Thread ng_netreg_entry_t::pid is interested in * @details The semantics are: Thread ng_netreg_entry_t::pid is interested in
* packets of protocol @p type with context ng_netreg_entry_t::demux_ctx. * packets of protocol @p type with context ng_netreg_entry_t::demux_ctx.
* *
* @param[in] type Type of the protocol. Must not be <= NG_NETTYPE_UNDEF or * @param[in] type Type of the protocol. Must not be < NG_NETTYPE_UNDEF or
* >= NG_NETTYPE_NUMOF. * >= NG_NETTYPE_NUMOF.
* @param[in] entry An entry you want to add to the registry with * @param[in] entry An entry you want to add to the registry with
* ng_netreg_entry_t::pid and ng_netreg_entry_t::demux_ctx set. * ng_netreg_entry_t::pid and ng_netreg_entry_t::demux_ctx set.
* *
* @return 0 on success * @return 0 on success
* @return -EINVAL if @p type was <= NG_NETTYPE_UNDEF or >= NG_NETTYPE_NUMOF * @return -EINVAL if @p type was < NG_NETTYPE_UNDEF or >= NG_NETTYPE_NUMOF
*/ */
int ng_netreg_register(ng_nettype_t type, ng_netreg_entry_t *entry); int ng_netreg_register(ng_nettype_t type, ng_netreg_entry_t *entry);