X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/abc8c2d61c65757011d9d32abb01cd1e51232f3a..c39d40a767a1ae36171e5bcbf6f157ff3e80fb6c:/print-resp.c diff --git a/print-resp.c b/print-resp.c index 14fb6116..00a6e257 100644 --- a/print-resp.c +++ b/print-resp.c @@ -36,9 +36,6 @@ #include "netdissect-stdinc.h" #include "netdissect.h" #include -#include -#include -#include #include "extract.h" @@ -59,7 +56,6 @@ #define resp_print_length_negative(ndo) ND_PRINT(" length negative and not -1") #define resp_print_invalid(ndo) ND_PRINT(" invalid") -void resp_print(netdissect_options *, const u_char *, u_int); static int resp_parse(netdissect_options *, const u_char *, int); static int resp_print_string_error_integer(netdissect_options *, const u_char *, int); static int resp_print_simple_string(netdissect_options *, const u_char *, int); @@ -465,7 +461,6 @@ resp_get_length(netdissect_options *ndo, const u_char *bp, int len, const u_char if (len == 0) goto trunc; - ND_TCHECK_1(bp); too_large = 0; neg = 0; if (GET_U_1(bp) == '-') {