From ca772815edaf07cfb9742e32c6f4690f383ef869 Mon Sep 17 00:00:00 2001 From: daniel-k Date: Mon, 11 May 2015 17:24:44 +0200 Subject: [PATCH] net/ng_netreg: fix wrong documentation for ng_netreg_register() --- sys/include/net/ng_netreg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/include/net/ng_netreg.h b/sys/include/net/ng_netreg.h index 85779d0a3b..98ab86b310 100644 --- a/sys/include/net/ng_netreg.h +++ b/sys/include/net/ng_netreg.h @@ -70,13 +70,13 @@ void ng_netreg_init(void); * @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. * - * @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. * @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. * * @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);