diff options
author | Toni <matzeton@googlemail.com> | 2024-05-21 13:08:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-21 13:08:07 +0200 |
commit | 3639d2045baa6cc048c82bfd6cc3f910a69b1457 (patch) | |
tree | f3b0c4704015272147ce3561e05acbd54036f8e9 /src/include | |
parent | 83840f1bb9e8825bb8000025ef7331a1d2e68ac4 (diff) |
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>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_main.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/ndpi_main.h b/src/include/ndpi_main.h index a95bf03c2..856c1227d 100644 --- a/src/include/ndpi_main.h +++ b/src/include/ndpi_main.h @@ -47,11 +47,6 @@ extern "C" { void ndpi_tdestroy(void *vrootp, void (*freefct)(void *)); int NDPI_BITMASK_COMPARE(NDPI_PROTOCOL_BITMASK a, NDPI_PROTOCOL_BITMASK b); - int NDPI_BITMASK_IS_EMPTY(NDPI_PROTOCOL_BITMASK a); - void NDPI_DUMP_BITMASK(NDPI_PROTOCOL_BITMASK a); - - - u_int16_t ntohs_ndpi_bytestream_to_number(const u_int8_t * str, u_int16_t max_chars_to_read, @@ -61,9 +56,6 @@ extern "C" { u_int16_t * bytes_read); u_int64_t ndpi_bytestream_to_number64(const u_int8_t * str, u_int16_t max_chars_to_read, u_int16_t * bytes_read); - u_int32_t ndpi_bytestream_dec_or_hex_to_number(const u_int8_t * str, - u_int16_t max_chars_to_read, - u_int16_t * bytes_read); u_int64_t ndpi_bytestream_dec_or_hex_to_number64(const u_int8_t * str, u_int16_t max_chars_to_read, u_int16_t * bytes_read); |