From a8306bbb15a6c9016b619af5d1604c190fb1b8d1 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Wed, 17 Oct 2018 15:10:38 +0200 Subject: [PATCH] doxygen: fix warnings --- include/coap2/lwippools.h | 2 +- src/net.c | 4 +++- src/pdu.c | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/include/coap2/lwippools.h b/include/coap2/lwippools.h index f11ebc6f..cb90d809 100644 --- a/include/coap2/lwippools.h +++ b/include/coap2/lwippools.h @@ -3,7 +3,7 @@ * of use. */ -/** Memory pool definitions for the libcoap when used with lwIP (which has its +/* Memory pool definitions for the libcoap when used with lwIP (which has its * own mechanism for quickly allocating chunks of data with known sizes). Has * to be findable by lwIP (ie. an #include must either directly * include this or include something more generic which includes this), and diff --git a/src/net.c b/src/net.c index 9add25da..b7a87a9b 100644 --- a/src/net.c +++ b/src/net.c @@ -1805,6 +1805,7 @@ enum respond_t { RESPONSE_DEFAULT, RESPONSE_DROP, RESPONSE_SEND }; * The value of the No-Response option is encoded as * follows: * + * @code * +-------+-----------------------+-----------------------------------+ * | Value | Binary Representation | Description | * +-------+-----------------------+-----------------------------------+ @@ -1816,6 +1817,7 @@ enum respond_t { RESPONSE_DEFAULT, RESPONSE_DROP, RESPONSE_SEND }; * +-------+-----------------------+-----------------------------------+ * | 16 | 00010000 | Not interested in 5.xx responses. | * +-------+-----------------------+-----------------------------------+ + * @endcode * * @param request The CoAP request to check for the No-Response option. * This parameter must not be NULL. @@ -2151,7 +2153,7 @@ coap_dispatch(coap_context_t *context, coap_session_t *session, #ifndef INET6_ADDRSTRLEN #define INET6_ADDRSTRLEN 40 #endif - /** @FIXME get debug to work again ** + /* FIXME: get debug to work again ** unsigned char addr[INET6_ADDRSTRLEN+8], localaddr[INET6_ADDRSTRLEN+8]; if (coap_print_addr(remote, addr, INET6_ADDRSTRLEN+8) && coap_print_addr(&packet->dst, localaddr, INET6_ADDRSTRLEN+8) ) diff --git a/src/pdu.c b/src/pdu.c index 9eb4c460..dbc0f0ef 100644 --- a/src/pdu.c +++ b/src/pdu.c @@ -224,7 +224,7 @@ coap_add_token(coap_pdu_t *pdu, size_t len, const uint8_t *data) { return 1; } -/** @FIXME de-duplicate code with coap_add_option_later */ +/* FIXME: de-duplicate code with coap_add_option_later */ size_t coap_add_option(coap_pdu_t *pdu, uint16_t type, size_t len, const uint8_t *data) { size_t optsize; @@ -260,7 +260,7 @@ coap_add_option(coap_pdu_t *pdu, uint16_t type, size_t len, const uint8_t *data) return optsize; } -/** @FIXME de-duplicate code with coap_add_option */ +/* FIXME: de-duplicate code with coap_add_option */ uint8_t* coap_add_option_later(coap_pdu_t *pdu, uint16_t type, size_t len) { size_t optsize;