aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2024-04-20 19:30:42 +0200
committerNardi Ivan <nardi.ivan@gmail.com>2024-04-20 19:30:42 +0200
commit95f4d0b85217724aea7b4d688bbdba2d6ca9775c (patch)
tree34851c4552794b5b40fc9b8dfa3de2904484e6d0 /src
parentef891834699db2b0ed16e32fc2d352e8a8419945 (diff)
Fix a warning
``` nDPI/PcDebug64/src/include/ndpi_api.h:1970:3: error: function declaration isn’t a prototype [-Werror=strict-prototypes] ```
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index ca1855532..9aa26d572 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -2074,7 +2074,7 @@ extern "C" {
for substring domain matching and classification
*/
- ndpi_domain_classify* ndpi_domain_classify_alloc();
+ ndpi_domain_classify* ndpi_domain_classify_alloc(void);
void ndpi_domain_classify_free(ndpi_domain_classify *s);
u_int32_t ndpi_domain_classify_size(ndpi_domain_classify *s);
bool ndpi_domain_classify_add(struct ndpi_detection_module_struct *ndpi_mod,