Remove unused code. (#2450)

* some `#ifdef`ed code dates back to 2019, 2020 and 2021
 * some function signatures were still present in `ndpi_main.h`
   which may cause linker errors for libnDPI dependee's
 * return an error while trying to serialize a double instead
   of `fprintf(stderr, ...)`

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni
2024-05-21 13:08:07 +02:00
committed by GitHub
parent 83840f1bb9
commit 3639d2045b
4 changed files with 3 additions and 134 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ for line in `nm -P -u "${NDPI_LIB}"`; do
'printf'|'fprintf') SKIP=1 ;;
esac
;;
'[ahocorasick.o]'|'[ndpi_serializer.o]')
'[ahocorasick.o]')
case "${FOUND_SYMBOL}" in
'fprintf') SKIP=1 ;;
esac