aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-08-18 14:43:57 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-08-18 14:44:05 +0200
commit07c7d63d446d56a3a0392e3ce1294a9042c180e9 (patch)
tree40e0af9f6eaf83fac64c956ec73eb73ed59ac53b /example/ndpiReader.c
parent0a4c8e2959facfe1c03c6216f017c740e8b4c4da (diff)
Fix warning when use -Wdocumentation
src/include/ndpi_api.h:73:13: error: parameter 'ndpi_malloc' not found in the function declaration [-Werror,-Wdocumentation] src/include/ndpi_api.h:91:13: error: parameter 'cache' not found in the function declaration [-Werror,-Wdocumentation] src/include/ndpi_api.h:92:13: error: parameter 'cache' not found in the function declaration [-Werror,-Wdocumentation] ndpiReader.c:152:22: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] ndpiReader.c:153:36: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] ndpiReader.c:156:39: error: not a Doxygen trailing comment [-Werror,-Wdocumentation]
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index c11c0c50d..73166761f 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -149,11 +149,11 @@ static struct reader_thread ndpi_thread_info[MAX_NUM_READER_THREADS];
* @brief ID tracking
*/
typedef struct ndpi_id {
- u_int8_t ip[4]; //< Ip address
- struct ndpi_id_struct *ndpi_id; //< nDpi worker structure
+ u_int8_t ip[4]; // Ip address
+ struct ndpi_id_struct *ndpi_id; // nDpi worker structure
} ndpi_id_t;
-static u_int32_t size_id_struct = 0; //< ID tracking structure size
+static u_int32_t size_id_struct = 0; // ID tracking structure size
#ifndef ETH_P_IP
#define ETH_P_IP 0x0800