From 23c933fd16bf3bb01b5d70b210f2c1e0c0c9e24c Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Fri, 2 Feb 2018 11:13:35 +0100 Subject: [PATCH] Fix annotation in function documentation clang failed to build: ../../../../lwip/src/include/lwip/tcp.h:180:11: error: parameter 'ERR_OK' not found in the function declaration [-Werror,-Wdocumentation] * @param ERR_OK if OK, any error if connection should be dropped ^~~~~~ --- src/include/lwip/tcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/tcp.h b/src/include/lwip/tcp.h index c2593fbf..b145781f 100644 --- a/src/include/lwip/tcp.h +++ b/src/include/lwip/tcp.h @@ -177,7 +177,7 @@ typedef void (*tcp_extarg_callback_pcb_destroyed_fn)(u8_t id, void *data); * @param id ext arg id (allocated via @ref tcp_ext_arg_alloc_id) * @param lpcb the listening pcb accepting a connection * @param cpcb the newly allocated connection pcb - * @param ERR_OK if OK, any error if connection should be dropped + * @return ERR_OK if OK, any error if connection should be dropped */ typedef err_t (*tcp_extarg_callback_passive_open_fn)(u8_t id, struct tcp_pcb_listen *lpcb, struct tcp_pcb *cpcb);