From 2a59f8ece9e7a68b96506e8c2a057e31e20e86dc Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Fri, 3 Jul 2015 11:57:31 +0200 Subject: [PATCH] interface.h,netdissect.h: Cleaning unused items --- interface.h | 2 -- netdissect.h | 16 ---------------- 2 files changed, 18 deletions(-) diff --git a/interface.h b/interface.h index c1ccbe50..1a67eb39 100644 --- a/interface.h +++ b/interface.h @@ -86,8 +86,6 @@ extern void warning(const char *, ...) extern char *read_infile(char *); extern char *copy_argv(char **); -/* The printer routines. */ - #include #ifndef HAVE_BPF_DUMP diff --git a/netdissect.h b/netdissect.h index 19cdfe8b..3b176b07 100644 --- a/netdissect.h +++ b/netdissect.h @@ -120,15 +120,8 @@ struct netdissect_options { char *ndo_sigsecret; /* Signature verification secret key */ - struct esp_algorithm *ndo_espsecret_xform; /* cache of decoded */ - char *ndo_espsecret_key; - int ndo_packettype; /* as specified by -T */ - char *ndo_program_name; /*used to generate self-identifying messages */ - - int32_t ndo_thiszone; /* seconds offset from gmt to local time */ - int ndo_snaplen; /*global pointers to beginning and end of current packet (during printing) */ @@ -288,11 +281,6 @@ extern int fn_printzp(netdissect_options *, const u_char *, u_int, const u_char extern void txtproto_print(netdissect_options *, const u_char *, u_int, const char *, const char **, u_int); -#if 0 -extern char *read_infile(netdissect_options *, char *); -extern char *copy_argv(netdissect_options *, char **); -#endif - /* * Locale-independent macros for testing character properties and * stripping the 8th bit from characters. Assumed to be handed @@ -567,10 +555,6 @@ extern void geneve_print(netdissect_options *, const u_char *, u_int); /* stuff that has not yet been rototiled */ -#if 0 -extern void ascii_print(netdissect_options *,u_int); -extern void default_print(netdissect_options *,const u_char *, u_int); -#endif extern char *smb_errstr(int, int); extern const char *nt_errstr(uint32_t); -- 2.39.5